From 269890a86fe9bb92499a3f9b4751e4e7808c2d92 Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Mon, 19 Feb 2024 18:32:37 +0100 Subject: [PATCH] initial commit --- .vimrc | 27 +++++++++++++++++++++++++++ README.md | 1 + 2 files changed, 28 insertions(+) create mode 100644 .vimrc create mode 100644 README.md diff --git a/.vimrc b/.vimrc new file mode 100644 index 0000000..959e193 --- /dev/null +++ b/.vimrc @@ -0,0 +1,27 @@ +call plug#begin() + +Plug 'preservim/nerdtree' +Plug 'vim-airline/vim-airline' +Plug 'tpope/vim-fugitive' +Plug 'xuyuanp/nerdtree-git-plugin' + +call plug#end() + +nnoremap :tabnew +nnoremap :tabclose +nnoremap :tabprevious +nnoremap :tabnext +nnoremap W +nnoremap w +nnoremap 5+ +nnoremap 5- +nnoremap 5< +nnoremap 5> + +nnoremap :vsplit +nnoremap :q + +autocmd BufWinEnter * if getcmdwintype() == '' | silent NERDTreeMirror | endif + +" nnoremap :NERDTree +nnoremap :NERDTreeFocus diff --git a/README.md b/README.md new file mode 100644 index 0000000..e912df1 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +my .vimrc