Compare commits
2 Commits
84df0c65cb
...
5e5f4a4334
| Author | SHA1 | Date | |
|---|---|---|---|
| 5e5f4a4334 | |||
| 362a118150 |
@@ -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
|
||||
|
||||
12
vim/vimrc
12
vim/vimrc
@@ -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 = '⦙'
|
||||
|
||||
Reference in New Issue
Block a user