diff options
author | June McEnroe <june@causal.agency> | 2015-01-06 16:29:19 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2015-01-06 16:29:19 -0500 |
commit | afe511fcb926240e53c7e3e553ac639bfef629dd (patch) | |
tree | 3d0cfae76792651a58b446db6b8978af845e1c01 | |
parent | Highlight columns 80, 100, 120 (diff) | |
download | src-afe511fcb926240e53c7e3e553ac639bfef629dd.tar.gz src-afe511fcb926240e53c7e3e553ac639bfef629dd.zip |
Swap 0 and ^ in Vim
-rw-r--r-- | .vimrc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc index beb18742..ad05fa27 100644 --- a/.vimrc +++ b/.vimrc @@ -161,6 +161,10 @@ let mapleader = "," nnoremap ' ` nnoremap ` ' +" Swap 0 and ^ (0 now moves to the first non-whitespace character). +nnoremap 0 ^ +nnoremap ^ 0 + " Clear search result highlighting. nmap <leader>n :nohlsearch<CR> |