Profile

Cover photo
Pierre-Yves Luyten
65 followers|31,235 views
AboutPostsPhotosYouTube

Stream

Pierre-Yves Luyten

commented on a post on Blogger.
Shared publicly  - 
 
this would suggest vi "normal mode" by default is the right choice
1
Add a comment...

Pierre-Yves Luyten

Shared publicly  - 
 
Finally have a decent keymap. It's a global minor mode based on mini-menus : use modern keys (like control-r to replace), but have prompts to offer you many options (eg., join lines, rot13, ...)

Alt keys are reserved for the power user : it offers a-la-vim paddle (ijkl), plus direct shortcuts eg to replace-regexp without seeing "replace menu" ("prompt").

Control-c is used to copy current row / selection, thus control SPC is used for activating mode-specific-keymap.

This is currently on top of : cua-selection-mode, undo-tree, & i'll add stuff like ace-jump

Thanks to emacs-wiki, +ErgoEmacs , +Matthew Fidler and evil-mode for everything I learnt =)

https://github.com/pyluyten/emacs-nu/
emacs-nu - Light starter kit (settings), Aliasing from org files, and convenient Keymap
1
Add a comment...
 
Define your alias from a .org file =)

Or, several: a variable keeps the list of files, so you can (bodhi-alias-add-file "myorgfile"). The file needs three columns, alias, function & description.

Alias will be populated right away. Also, a list is maintained, thus I want to add a feature to see or even edit these files and contents from a dedicated buffer (the idea is to add completion).


// disclaimer : fair, code is just plain awful as of today. That's a matter of learning lips, sorry about this //
1
Pierre-Yves Luyten's profile photo
Add a comment...
 
What if i like vim way but not that much evil-mode?

=> just abuse selection state. Use motions while text is selected. Otherwise just let keys where they belongs.

Thus, just pushed to github my first lisp.
https://github.com/pyluyten/devil-mode

/That's not much code. But this might be fine/
devil-mode - Easily operate on text while in selection state
1
Matthew Fidler's profile photoPierre-Yves Luyten's profile photoSylvain Benner's profile photo
11 comments
 
+Pierre-Yves Luyten That's great! Did you try to wipe out the insert state key binding map in order to make it the same as the emacs state ? This way you don't have to define the majority of the functions.

What do you mean by real time ? When using the visual block mode with Ctrl+v the block is highlighted and updated whenever the point is moved.

Did you checked the god-mode ? https://github.com/chrisdone/god-mode

Well I truly dislike those modes which try to "invent" modal key bindings but if it works for you....
The reason why I hate them is simply because Vi modal key bindings are standard and you will feel at home with any software that have emulation for them. Learning is an investment, if one wants to go modal he will get a better ROI by learning the vi modes , they are not perfect but they are sooooooooooo powerful and universal.
Add a comment...

Pierre-Yves Luyten

commented on a post on Blogger.
Shared publicly  - 
 
Last time I checked, Google Keep had no API. But the more people are asking Google for this... OTOH, people suggested to work on IMAP storage : this way, anyone who has an IMAP account might use this to store their notes. Plus, Apple users are already able to use such. And this, can be already implemented, given enough time is spent.
Officially Bijiben, unofficially GNOME Notes. Notes is one of those applications that even if they look simple, can be more useful than applications which were considered important in the older days. For example, Music app is not any good for me, because I don't store music locally.
2
alex diavatis's profile photoAntoine Saroufim's profile photoPierre-Yves Luyten's profile photoMiguel Marin's profile photo
4 comments
 
IMAP integration would be great. I use this https://github.com/pbourke/gippy to write notes from my desktop and read them with gmail chromium...
Add a comment...

Pierre-Yves Luyten

commented on a post on Blogger.
Shared publicly  - 
 
thanks much for the info. Noted :/
Consider updating fedup to 0.8.0 from updates-testing # yum update --enablerepo=updates-testing fedup Or else you may end up with a broken System Upgrade. https://bugzilla.redhat.com/show_bug.cgi?id=1044346 https://bugzilla.r...
1
Add a comment...
In his circles
173 people
Have him in circles
65 people
Alex Bill's profile photo
Karlo Jež's profile photo
Amit Barve's profile photo
Antoine Saroufim's profile photo
MassiveGRID.com's profile photo
francine klebert's profile photo
Guillaume Hain's profile photo
Bastien Nocera's profile photo
Sagar Ghuge's profile photo
 
GNOME Notes has now an offline mode for ownCloud : install ownCloud client, & here you are.

http://arupajhana.wordpress.com/2014/08/16/offline-owncloud-notes-thanks-to-guadec/
11
3
Joerg Desch's profile photoIgor Gnatenko's profile photoSriram Ramkrishna (sri)'s profile photoDenis Fateyev's profile photo
3 comments
 
OK, but in a case of a conflict, ownCloud add (as far as I remember) some kind of a timestamp as postfix to the filename. In this case you see two notes. So GNOME Notes must handle this conflict somehow. Shouldn't it? :-)
Add a comment...

Pierre-Yves Luyten

Shared publicly  - 
 
when one really feels lazy

function cdm () {  mkdir $1; cd $1; }
1
Add a comment...

Pierre-Yves Luyten

Shared publicly  - 
 
just found myself
$ less TODO

;)
1
Add a comment...
 
Hi emaser!

I want to create some specific keymap inspired from 1. cua keys and 2. "operator + motion" workflow. For example, something like ^x w to cut a word, ^x$ to cut until end of row. And so on.

yes i'm not sure about the result but i would like to see.

I did not write elisp yet. Finding documentation is ok. But what is the best bet? That's where I miss knowledge. Global minor mode? ErgoEmacs theme? Directly mess up keybindings on a distinct .el ?

i'm sure some answers will awesome me =)
1
Matthew Fidler's profile photoPierre-Yves Luyten's profile photo
17 comments
 
Thanks for these advices. Indeed ergonomics were not that good, at least in current design, so I decided to work on selection state.

When text is selected, modifiers are less useful since user just needs to move. Its a bit like vim visual mode.

http://arupajhana.wordpress.com/2014/05/01/emacs-selection-mode/
Add a comment...

Pierre-Yves Luyten

Shared publicly  - 
 
great, 3.12 is near! An overview of "Notes" changelog there : http://arupajhana.wordpress.com/2014/03/22/notes-3-12/
Notes is close to 3.12, and i wanted to take a brief look at 3.12 changes. There was not big huge revamps this release, which is sometimes necessary for the sake of the code and its users. However,...
5
Antoine Saroufim's profile photoPierre-Yves Luyten's profile photo
2 comments
 
Thanks +Antoine Saroufim , and keep reporting issues on OpenSuse
Add a comment...
First I apologize for doing only Fedora. This isn't a dis-respect to other distros, neither means that Fedora is better from Arch or Ubuntu or Gentoo or whatever else. I may write a post why I ended up to use only Fedora, but for now unfortunately, I'm not sure that the things I will try to ...
1
Add a comment...
People
In his circles
173 people
Have him in circles
65 people
Alex Bill's profile photo
Karlo Jež's profile photo
Amit Barve's profile photo
Antoine Saroufim's profile photo
MassiveGRID.com's profile photo
francine klebert's profile photo
Guillaume Hain's profile photo
Bastien Nocera's profile photo
Sagar Ghuge's profile photo
Links
Other profiles
Basic Information
Gender
Male