aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorMiquel Sabaté <mikisabate@gmail.com>2014-09-08 09:07:52 +0200
committerMiquel Sabaté <mikisabate@gmail.com>2014-09-08 09:07:52 +0200
commit6bf05f9c67373f90ed9d3dc8a5732ad352372256 (patch)
treeaa9b196597edc587118b9f79803fee88c0d8a113 /vimrc
parent7d1268f31b50060d99dc450bb564a1392d4d74f9 (diff)
downloaddotfiles-6bf05f9c67373f90ed9d3dc8a5732ad352372256.tar.gz
dotfiles-6bf05f9c67373f90ed9d3dc8a5732ad352372256.zip
vim: added a new mapping. Now <leader>, is an alias of ^
This is because I find that pressing ^ to go to the first non-blank character of the current line is rather inconvenient.
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 0c4099e..8670983 100644
--- a/vimrc
+++ b/vimrc
@@ -144,3 +144,6 @@ nnoremap <C-s> :w<CR>
" <C-q> is the same as @q (I use q to store macros).
nnoremap <C-q> @q
+" Pressing ^ in order to move to the first non-blank character is inconvenient.
+nnoremap <leader>, ^
+