Commit 763ead2b85f8a2cd5d9a0a81f62667ca6fc56d6e

Use lowercase letters for alt combinations
Otherwise they don't work in gvim.
Author: xaizek
Author date (UTC): 2012-06-11 18:27
Committer name: xaizek
Committer date (UTC): 2012-06-11 18:27
Parent(s): f694b092e2aa8a50d60d676ab854a4af36e253c5
Signing key:
Tree: dbef6a7dcd5108b354d0eea14fd0c3fbb919bd66
File Lines added Lines deleted
plugin/emacscommandline.vim 4 4
File plugin/emacscommandline.vim changed (mode: 100644) (index f0b5b1f..2726070)
... ... cnoremap <C-F> <Right>
5 5 cnoremap <C-P> <Up> cnoremap <C-P> <Up>
6 6 cnoremap <C-N> <Down> cnoremap <C-N> <Down>
7 7 cnoremap <Esc>r <C-F>? cnoremap <Esc>r <C-F>?
8 cmap <M-R> <Esc>r
8 cmap <M-r> <Esc>r
9 9
10 10 " Maps to old shortcuts using Ctrl-O as a prefix " Maps to old shortcuts using Ctrl-O as a prefix
11 11 cnoremap <C-O><C-A> <C-A> cnoremap <C-O><C-A> <C-A>
 
... ... cnoremap <C-O><Del> <Del>
25 25 cnoremap <C-O><BS> <BS> cnoremap <C-O><BS> <BS>
26 26
27 27 cnoremap <Esc>f <C-\>e<SID>ForwardWord()<CR> cnoremap <Esc>f <C-\>e<SID>ForwardWord()<CR>
28 cmap <M-F> <Esc>f
28 cmap <M-f> <Esc>f
29 29 function! <SID>ForwardWord() function! <SID>ForwardWord()
30 30 let l:loc = strpart(getcmdline(), 0, getcmdpos() - 1) let l:loc = strpart(getcmdline(), 0, getcmdpos() - 1)
31 31 let l:roc = strpart(getcmdline(), getcmdpos() - 1) let l:roc = strpart(getcmdline(), getcmdpos() - 1)
 
... ... function! <SID>ForwardWord()
42 42 endfunction endfunction
43 43
44 44 cnoremap <Esc>b <C-\>e<SID>BackwardWord()<CR> cnoremap <Esc>b <C-\>e<SID>BackwardWord()<CR>
45 cmap <M-B> <Esc>b
45 cmap <M-b> <Esc>b
46 46 function! <SID>BackwardWord() function! <SID>BackwardWord()
47 47 let l:loc = strpart(getcmdline(), 0, getcmdpos() - 1) let l:loc = strpart(getcmdline(), 0, getcmdpos() - 1)
48 48 let l:roc = strpart(getcmdline(), getcmdpos() - 1) let l:roc = strpart(getcmdline(), getcmdpos() - 1)
 
... ... function! <SID>BackwardKillLine()
121 121 endfunction endfunction
122 122
123 123 cnoremap <Esc>d <C-\>e<SID>KillWord()<CR> cnoremap <Esc>d <C-\>e<SID>KillWord()<CR>
124 cmap <M-D> <Esc>d
124 cmap <M-d> <Esc>d
125 125 function! <SID>KillWord() function! <SID>KillWord()
126 126 call <SID>saveUndoHistory(getcmdline(), getcmdpos()) call <SID>saveUndoHistory(getcmdline(), getcmdpos())
127 127 let l:loc = strpart(getcmdline(), 0, getcmdpos() - 1) let l:loc = strpart(getcmdline(), 0, getcmdpos() - 1)
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/vim-emacscommandline

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/vim-emacscommandline

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master