From 25815ca406c9ae91c560076116f0f9d323941d2e Mon Sep 17 00:00:00 2001 From: Dmitry Chumak Date: Sun, 21 Aug 2022 16:46:22 +0300 Subject: [PATCH] [vim] todos list --- vim/README.md | 3 +++ vim/vimrc | 13 +++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 vim/README.md diff --git a/vim/README.md b/vim/README.md new file mode 100644 index 0000000..ebd9ff6 --- /dev/null +++ b/vim/README.md @@ -0,0 +1,3 @@ +https://unix.stackexchange.com/questions/110251/how-to-put-current-line-at-top-center-bottom-of-screen-in-vim +https://www.thegeekstuff.com/2009/03/8-essential-vim-editor-navigation-fundamentals/ +https://vi.stackexchange.com/questions/14403/how-to-go-to-previous-open-buffer-from-vim-command-line diff --git a/vim/vimrc b/vim/vimrc index dcace4f..1767edb 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -1,3 +1,6 @@ +" TODO: fzf enable search through hidden files - https://www.reddit.com/r/neovim/comments/fzeccx/how_can_i_make_fzf_include_hidden_directories/ +" TODO: fix fzf search the same dir in different windows https://vimways.org/2019/vim-and-the-working-directory/ +" TODO: create readme file about navigation filetype plugin indent on "Включает определение типа файла, загрузку... "... соответствующих ему плагинов и файлов отступов set encoding=utf-8 "Ставит кодировку UTF-8 @@ -9,6 +12,16 @@ set number relativenumber set backspace=indent,eol,start filetype plugin indent on +" tabs navigation +nnoremap :tabprevious +nnoremap :tabnext +nnoremap :tabnew +inoremap :tabpreviousi +inoremap :tabnexti +inoremap :tabnewi +nnoremap H gT +nnoremap L gt + " Changing key from \ to nnoremap let mapleader=" "