summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2020-12-18 23:22:33 +0100
committerGitHub <noreply@github.com>2020-12-18 23:22:33 +0100
commit11b1e71789c39384c5e7cf712320fd6507b41253 (patch)
tree3f30ff48918733cf5731fd0dcfbe0b1f24d9cd07 /vim
parent33d17425955a2c196e58fbb06bfa14269008db69 (diff)
vim: back to nmap instead of cmap
Diffstat (limited to 'vim')
-rwxr-xr-xvim/.vimrc12
1 files changed, 6 insertions, 6 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index 66a732a..7512334 100755
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -88,7 +88,7 @@ nnoremap k gk
nnoremap tn :tabnew<CR>
nnoremap ve :Vexplore<CR>
-cnoremap rt RainbowToggle<CR>
+nnoremap rt :RainbowToggle<CR>
" buffers
nnoremap ]b :bnext<CR>
@@ -109,11 +109,11 @@ nnoremap ,o :only<CR>
" co = open commits explorer
" gf = open git ls-files
" gs = open git status
-cnoremap ff Files .<CR>
-cnoremap co Commits<CR>
-cnoremap gf GFiles<CR>
-cnoremap gs GFiles?<CR>
-cnoremap gd Git diff<CR>
+nnoremap :ff :Files .<CR>
+nnoremap :co :Commits<CR>
+nnoremap :gf :GFiles<CR>
+nnoremap :gs :GFiles?<CR>
+nnoremap :gd :Git diff<CR>
nnoremap :pa :set paste<CR>
nnoremap :npa :set nopaste<CR>