[vim] todos list

This commit is contained in:
2022-08-21 16:46:22 +03:00
parent 16d36a36e7
commit 25815ca406
2 changed files with 16 additions and 0 deletions

3
vim/README.md Normal file
View File

@@ -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

View File

@@ -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 <C-S-tab> :tabprevious<CR>
nnoremap <C-tab> :tabnext<CR>
nnoremap <C-t> :tabnew<CR>
inoremap <C-S-tab> <Esc>:tabprevious<CR>i
inoremap <C-tab> <Esc>:tabnext<CR>i
inoremap <C-t> <Esc>:tabnew<CR>i
nnoremap H gT
nnoremap L gt
" Changing <leader> key from \ to <space>
nnoremap <SPACE> <Nop>
let mapleader=" "