Profile

Bakgrundsfoto
Pierre-Yves Luyten
72 följare|32 287 visningar
OmInläggFotonYouTube

Stream

Pierre-Yves Luyten

Delas offentligt  - 
 
man bat

not found.
 ·  Översätt
1
Lägg till en kommentar ...

Pierre-Yves Luyten

Delas offentligt  - 
 
go go go
 ·  Översätt
 
GNOME Foundation members: Don't forget to vote! Last day today. https://mail.gnome.org/archives/foundation-announce/2015-May/msg00017.html
 ·  Översätt
Visa ursprungligt inlägg
1
Lägg till en kommentar ...
 
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/
 ·  Översätt
11
3
Profilfoto som tillhör Joerg DeschProfilfoto som tillhör Igor GnatenkoProfilfoto som tillhör Sriram Ramkrishna (sri)Profilfoto som tillhör Denis Fateyev
3 kommentarer
 
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? :-)
 ·  Översätt
Lägg till en kommentar ...

Pierre-Yves Luyten

Delas offentligt  - 
 
when one really feels lazy

function cdm () {  mkdir $1; cd $1; }
 ·  Översätt
1
Lägg till en kommentar ...

Pierre-Yves Luyten

Delas offentligt  - 
 
just found myself
$ less TODO

;)
 ·  Översätt
1
Lägg till en kommentar ...
 
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 =)
 ·  Översätt
1
Profilfoto som tillhör Matthew FidlerProfilfoto som tillhör Pierre-Yves Luyten
17 kommentarer
 
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/
 ·  Översätt
Lägg till en kommentar ...

Pierre-Yves Luyten

Delas offentligt  - 
 
great, 3.12 is near! An overview of "Notes" changelog there : http://arupajhana.wordpress.com/2014/03/22/notes-3-12/
 ·  Översätt
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
Profilfoto som tillhör Antoine SaroufimProfilfoto som tillhör Pierre-Yves Luyten
2 kommentarer
 
Thanks +Antoine Saroufim , and keep reporting issues on OpenSuse
 ·  Översätt
Lägg till en kommentar ...
Har honom i sina cirklar
72 personer
Profilfoto som tillhör Quentin Huchet
Profilfoto som tillhör Daniel Gamzon
Profilfoto som tillhör dupond florence
Profilfoto som tillhör Lisa Jasica
Profilfoto som tillhör Mélanie Strauss
Profilfoto som tillhör Elsa Conseil
Profilfoto som tillhör Irène Bbls
Profilfoto som tillhör Cosimo Cecchi
Profilfoto som tillhör Kalev Lember

Pierre-Yves Luyten

kommenterade ett inlägg på Blogger.
Delas offentligt  - 
 
this would suggest vi "normal mode" by default is the right choice
 ·  Översätt
1
Lägg till en kommentar ...

Pierre-Yves Luyten

Delas offentligt  - 
 
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/
 ·  Översätt
emacs-nu - Light starter kit (settings), Aliasing from org files, and convenient Keymap
1
Lägg till en kommentar ...
 
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 //
 ·  Översätt
1
Profilfoto som tillhör Pierre-Yves Luyten
 ·  Översätt
Lägg till en kommentar ...
 
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/
 ·  Översätt
devil-mode - Easily operate on text while in selection state
1
Profilfoto som tillhör Matthew FidlerProfilfoto som tillhör Pierre-Yves LuytenProfilfoto som tillhör Sylvain Benner
11 kommentarer
 
+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.
 ·  Översätt
Lägg till en kommentar ...

Pierre-Yves Luyten

kommenterade ett inlägg på Blogger.
Delas offentligt  - 
 
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.
 ·  Översätt
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
Profilfoto som tillhör alex diavatisProfilfoto som tillhör Antoine SaroufimProfilfoto som tillhör Pierre-Yves LuytenProfilfoto som tillhör Miguel Marin
4 kommentarer
 
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...
 ·  Översätt
Lägg till en kommentar ...
Personer
Har honom i sina cirklar
72 personer
Profilfoto som tillhör Quentin Huchet
Profilfoto som tillhör Daniel Gamzon
Profilfoto som tillhör dupond florence
Profilfoto som tillhör Lisa Jasica
Profilfoto som tillhör Mélanie Strauss
Profilfoto som tillhör Elsa Conseil
Profilfoto som tillhör Irène Bbls
Profilfoto som tillhör Cosimo Cecchi
Profilfoto som tillhör Kalev Lember
Länkar
Andra profiler
Grundläggande information
Kön
Man
Appar med Google+ Inloggning
  • DomiNations