Compare commits

...

2 Commits

Author SHA1 Message Date
5e5f4a4334 tmux disable window rename options 2022-08-08 14:59:36 +03:00
362a118150 vim NERDTree plugin added 2022-08-08 14:59:07 +03:00
2 changed files with 14 additions and 0 deletions

View File

@@ -2,6 +2,8 @@
set -g mouse on
set -g set-clipboard external
set-option -g status-position top
set-window-option -g allow-rename off
set allow-rename off
# remap prefix from 'C-b' to 'C-x', 0x18 hex code for iterm2
unbind C-b

View File

@@ -23,6 +23,7 @@ call plug#begin('~/.vim/bundle') "Начать искать плагины в э
Plug 'vim-airline/vim-airline'
Plug 'Yggdroot/indentLine'
Plug 'airblade/vim-gitgutter'
Plug 'preservim/nerdtree'
call plug#end() "Перестать это делать
"
@@ -42,6 +43,17 @@ let g:gitgutter_override_sign_column_highlight = 1
highlight SignColumn ctermbg=none
set updatetime=100
"
" NERDTree plugin config
"
nnoremap <leader>n :NERDTreeFocus<CR>
nnoremap <C-n> :NERDTree<CR>
nnoremap <C-t> :NERDTreeToggle<CR>
nnoremap <C-f> :NERDTreeFind<CR>
highlight VertSplit cterm=none
" Exit Vim if NERDTree is the only window remaining in the only tab.
autocmd BufEnter * if tabpagenr('$') == 1 && winnr('$') == 1 && exists('b:NERDTree') && b:NERDTree.isTabTree() | quit | endif
" YAML files config
autocmd FileType yaml,yml setlocal ts=2 sts=2 sw=2 expandtab
let g:indentLine_char = '⦙'