aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorMiquel Sabaté <mikisabate@gmail.com>2014-01-29 08:12:40 +0100
committerMiquel Sabaté <mikisabate@gmail.com>2014-01-29 08:12:40 +0100
commita53847e86a1de5a03d6381447ebd5813fd6eb950 (patch)
tree17d2c6bc1056084cdd7aaed13b6acbdd06bdb4f2 /vimrc
parentc620bf5f447c8435cd651aa4d66d8aad148ff78f (diff)
downloaddotfiles-a53847e86a1de5a03d6381447ebd5813fd6eb950.tar.gz
dotfiles-a53847e86a1de5a03d6381447ebd5813fd6eb950.zip
vim: map <C-q> as @q
This makes sense because I use the q key all the time for macros and @ is kind of hard to type for me :)
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index a8e5028..724aa90 100644
--- a/vimrc
+++ b/vimrc
@@ -133,6 +133,9 @@ nnoremap <leader>c :close<CR>
inoremap <C-S> <ESC>:w<CR>
nnoremap <C-S> :w<CR>
+" <C-q> is the same as @q (I use q to store macros).
+nnoremap <C-q> @q
+
" vim-surround.vim: <leader>s is used to surround a word.
map <leader>s ysiw