Hi, Thank you Tyler, now I added your contribution to Yi page on HaskellWiki (with some tweaks).
http://www.haskell.org/haskellwiki/Yi#Emacs_key_bindings Vim keymaps, anyone? ;-) Best regards, MH 2013年3月5日火曜日 14時10分05秒 UTC+9 Tyler Conrad: > > Of course. > > On Sunday, March 3, 2013 5:25:32 AM UTC-6, Masayuki Hatta wrote: >> >> Hi Tyler, >> >> Can I use your command list to update Yi Wiki page? >> >> Best regards, >> MH >> >> 2013年3月2日土曜日 7時08分12秒 UTC+9 Tyler Conrad: >>> >>> I just started looking into learning Haskell and found yi. So far I'm >>> really impressed. Nano too little - emacs too much. One thing I haven't >>> discovered yet is how to do a multi-line indent. Thought it would be >>> something like: set mark - move - tab (or shift tab) to indent/dedent the >>> selected lines. Is there a way to do this? >>> >>> I didn't find any simple documentation for the supported key bindings >>> with descriptions. Heres a list for emacs mode that I've verified. Someone >>> on the list also suggested looking at: >>> yi/src/library/Yi/Keymap/Emacs.hs >>> >>> Emacs Commands List >>> >>> C = Control >>> M = Meta = Alt|Esc >>> >>> Basics >>> C-x C-f "find" file i.e. open/create a file in buffer >>> C-x C-s save the file >>> C-x C-w write the text to an alternate name >>> C-x i insert file at cursor position >>> C-x b create/switch buffers >>> C-x C-b show buffer list >>> C-x k kill buffer >>> C-z suspend emacs >>> C-X C-c close down emacs >>> >>> Basic movement >>> C-f forward char >>> C-b backward char >>> C-p previous line >>> C-n next line >>> M-f forward one word >>> M-b backward one word >>> C-a beginning of line >>> C-e end of line >>> C-v one page up >>> M-v scroll down one page >>> M-< beginning of text >>> M-> end of text >>> >>> Editing >>> M-n repeat the following command n times >>> C-u repeat the following command 4 times >>> C-d delete a char >>> M-d delete word >>> M-Del delete word backwards >>> C-k kill line >>> C-Space Set beginning mark (for region marking for example) >>> C-W "kill" (delete) the marked region region >>> M-W copy the marked region >>> C-y "yank" (paste) the copied/killed region/line >>> M-y yank earlier text (cycle through kill buffer) >>> C-x C-x exchange cursor and mark >>> >>> C-t transpose two chars >>> M-t transpose two words >>> M-u make letters uppercase in word from cursor position to end >>> M-c simply make first letter in word uppercase >>> M-l opposite to M-u >>> >>> Important >>> C-g quit the running/entered command >>> C-x u undo previous action >>> M-/ undo previous action >>> >>> Search/Replace >>> C-s Search forward >>> C-r search backward >>> >>> M-% query replace >>> Space or y replace this occurence >>> Del or n don't replace >>> ! replace all following occurences >>> RETURN or q quit replace >>> >>> Window-Commands >>> C-x 2 split window vertically >>> C-x o change to other window >>> C-x 0 delete window >>> C-x 1 close all windows except the one the cursors in >>> >>> DIRectory EDitor (dired) >>> C-x d start up dired >>> C (large C) copy >>> d mark for erase >>> D delete right away >>> e or f open file or directory >>> g reread directory structure from file >>> m mark with * >>> n move to next line >>> q quit dired >>> R rename file >>> u remove mark >>> x delete files marked with D >>> + create directory >>> >>> Programming >>> M-m move to first (non-space) char in this line >>> M-^ attach this line to previous >>> M-; formatize and indent comment >>> C, C++ and Java Modes >>> M-a beginning of statement >>> M-e end of statement >>> C-c C-c comment out marked area >>> >> -- -- Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel --- You received this message because you are subscribed to the Google Groups "yi.devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to yi-devel+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.