aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-04-02 11:51:38 +0800
committerGuangxiong Lin <[email protected]>2022-04-02 11:51:38 +0800
commitccef948961ec3baef349b87ec7124024f42ec932 (patch)
treef7cc531da2082ee7cefc575353d0ed1382c8c6af
parent8d609914cccb9b27e78b6c413b83b9cd524ccde9 (diff)
downloaddotfiles-ccef948961ec3baef349b87ec7124024f42ec932.tar.gz
dotfiles-ccef948961ec3baef349b87ec7124024f42ec932.tar.bz2
dotfiles-ccef948961ec3baef349b87ec7124024f42ec932.zip
Setup keymap of nnn and tig in vim
-rw-r--r--.vim/after/plugin/nnn.vim1
-rw-r--r--.vim/after/plugin/tig.vim1
2 files changed, 2 insertions, 0 deletions
diff --git a/.vim/after/plugin/nnn.vim b/.vim/after/plugin/nnn.vim
new file mode 100644
index 0000000..ca1d605
--- /dev/null
+++ b/.vim/after/plugin/nnn.vim
@@ -0,0 +1 @@
+nnoremap <leader><leader>n :NnnPicker<CR>
diff --git a/.vim/after/plugin/tig.vim b/.vim/after/plugin/tig.vim
new file mode 100644
index 0000000..8093e6a
--- /dev/null
+++ b/.vim/after/plugin/tig.vim
@@ -0,0 +1 @@
+nnoremap <leader>gs :TigStatus<CR>