-
Notifications
You must be signed in to change notification settings - Fork 36
/
.vimrc
666 lines (595 loc) · 22.4 KB
/
.vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
"=============================================================================
" Description: Vimi bundle .vimrc
" Author: Vyacheslav Oliyanchuk <[email protected]>
" URL: http://github.com/miripiruni/vimi/
"=============================================================================
" Make Vim more useful
set nocompatible
" Vundle setup
" Plugin manager
"
" Brief help:
" :BundleList - list configured bundles
" :BundleInstall(!) - install(update) bundles
" :BundleSearch(!) foo - search(or refresh cache first) for foo
" :BundleClean(!) - confirm(or auto-ap prove) removal of unused bundles
" for more details see :h vundle or https://github.com/VundleVim/Vundle.vim
filetype off " required!
set rtp+=~/.vimi/.vim/bundle/vundle/
call vundle#rc()
Bundle 'https://github.com/VundleVim/Vundle.vim.git'
" Bundles
" NOTE: comments after Bundle command are not allowed...
"
" Libs
" For FuzzyFinder:
" Bundle 'L9'
" Interface
" Bundle 'https://github.com/metakirby5/codi.vim.git'
" Bundle 'https://github.com/ctrlpvim/ctrlp.vim.git'
" Solarized Colorscheme
Bundle 'https://github.com/altercation/vim-colors-solarized.git'
" Bundle 'https://github.com/gorodinskiy/vim-coloresque.git'
" A tree explorer plugin
Bundle 'https://github.com/preservim/nerdtree.git'
" Perform all your vim insert mode completions with Tab
Bundle 'https://github.com/ervandew/supertab.git'
" Shows 'Nth match out of M' at every search
Bundle 'https://github.com/vim-scripts/IndexedSearch.git'
" Bundle 'https://github.com/miripiruni/vimi-snippets.git'
" RegExp search
"Bundle 'https://github.com/mileszs/ack.vim.git'
" Provides easy code commenting
Bundle 'https://github.com/scrooloose/nerdcommenter.git'
" Mappings to easily delete, change and add surroundings in pairs
Bundle 'https://github.com/tpope/vim-surround.git'
" Git wrapper
" Bundle 'https://github.com/tpope/vim-fugitive.git'
Bundle 'https://github.com/vim-scripts/bufexplorer.zip.git'
" Automatic closing of quotes, parenthesis, brackets, etc.
" Bundle 'https://github.com/vim-scripts/delimitMate.vim.git'
Bundle 'https://github.com/sjl/gundo.vim.git'
" Bundle 'https://github.com/sjl/threesome.vim.git'
" Bundle 'https://github.com/chrismetcalf/vim-yankring.git'
" Bundle 'https://github.com/slack/vim-fuzzyfinder.git'
Bundle 'https://github.com/vim-scripts/vimwiki.git'
" You need to do `git config --global github.user <username>`
Bundle 'https://github.com/mattn/gist-vim.git'
Bundle 'https://github.com/editorconfig/editorconfig-vim.git'
" TypeScript
Bundle 'https://github.com/leafgarland/typescript-vim.git'
Bundle 'https://github.com/Quramy/tsuquyomi.git'
" JavaScript
" Vastly improved vim's javascript indentation
Bundle 'https://github.com/pangloss/vim-javascript.git'
" JSON
Bundle 'https://github.com/leshill/vim-json.git'
" Pug
Bundle 'https://github.com/digitaltoad/vim-pug.git'
" Go
Bundle 'https://github.com/fatih/vim-go.git'
filetype plugin indent on " required!
" Interface
" Character encoding used inside Vim
" Only available when compiled with the +multi_byte feature
set encoding=utf-8
" Character encodings considered when starting to edit an existing file
" Only available when compiled with the +multi_byte feature
set fileencodings=utf-8,cp1251
" Always add lf in the end of file
set fileformat=unix
" Enhance command-line completion
" Only available when compiled with the +wildmenu feature
set wildmenu
" Set completion mode
" When more than one match, list all matches and complete first match
" Then complete the next full match
set wildmode=list:longest,full
" Ignore following files when completing file/directory names
" Version control
set wildignore+=.hg,.git,.svn
" OS X
set wildignore+=*.DS_Store
" Python byte code
set wildignore+=*.pyc
" Binary images
set wildignore+=*.jpg,*.bmp,*.gif,*.png,*.jpeg
" Set title of the window to filename [+=-] (path) - VIM
" Only available when compiled with the +title feature
set title
" Show (partial) command in the last line of the screen
" Comment this line if your terminal is slow
" Only available when compiled with the +cmdline_info feature
set showcmd
" Minimal number of lines to scroll when cursor gets off the screen
" set scrolljump=5
" Minimal number of lines to keep above and below the cursor
" Typewriter mode = keep current line in the center
set scrolloff=999
" Always show tabs
" set showtabline=2
" Display invisible characters
set list
if version >= 700
set listchars=tab:▸\ ,trail:·,extends:❯,precedes:❮,nbsp:×
else
set listchars=tab:»\ ,trail:·,extends:>,precedes:<,nbsp:_
endif
" Wrap long lines
set wrap
" Don't break words when wrapping
" Only available when compiled with the +linebreak feature
set linebreak
" Show ↪ at the beginning of wrapped lines
if has("linebreak")
let &sbr = nr2char(8618).' '
endif
" Number of column to be highlighted
" Only available when compiled with the +syntax feature
if version >= 703
set colorcolumn=80
end
" Maximum width of text that is being inserted
" Longer lines will be broken after white space to get this width
set textwidth=80
" Copy indent from current line when starting a new line
set autoindent
" Do smart indenting when starting a new line
" Only available when compiled with the +smartindent feature
set smartindent
" Number of spaces to use for each step of (auto)indent
set shiftwidth=4
" Use spaces instead of tab
set expandtab
" Number of spaces that a tab counts for
set tabstop=4
" Number of spaces that a tab counts for while performing editing operations
set softtabstop=4
" Number of pixel lines inserted between characters
" Only in GUI
set linespace=1
" Highlight the screen line of the cursor
" Only available when compiled with the +syntax feature
set cursorline
" Turn off cursor blinking in normal mode
" Only available when compiled with GUI enabled
set guicursor=n:blinkon0
" Remove all components and options of the GUI
" Only available when compiled with GUI enabled
set guioptions=
" Number of colors
set t_Co=256
" Splitting a window will put the new window below the current one
" See :sp
" Only available when compiled with the +windows feature
set splitbelow
" Splitting a window will put the new window right of the current one
" See :vsp
" Only available when compiled with the +vertsplit feature
set splitright
" Don't show the intro message starting Vim
set shortmess+=I
" Turn mouse pointer to a up-down sizing arrow
" Only available when compiled with the +mouseshape feature
set mouseshape=s:udsizing,m:no
" Hide the mouse when typing text
" Only works in GUI
set mousehide
" Edit several files in the same time without having to save them
set hidden
" No beeps, no flashes
set visualbell
set t_vb=
" List of directories which will be searched when using :find, gf, etc.
" Search relative to the directory of the current file
" Search in the current directory
" Search downwards in a directory tree
" Only available when compiled with the +path_extra feature
set path=.,,**
" Status line
function! FileSize()
let bytes = getfsize(expand("%:p"))
if bytes <= 0
return ""
endif
if bytes < 1024
return bytes . "B"
else
return (bytes / 1024) . "K"
endif
endfunction
function! CurDir()
return expand('%:p:~')
endfunction
" Last window always has a status line
set laststatus=2
" Content of the status line
" Only available when compiled with the +statusline feature
set statusline=\
" Buffer number
set statusline+=%n:\
" File name
set statusline+=%t
" Modified flag
set statusline+=%m
set statusline+=\ \
" Paste mode flag
set statusline+=%{&paste?'[paste]\ ':''}
" File encoding
set statusline+=%{&fileencoding}
" Type of file
" Only available when compiled with the +autocmd feature
set statusline+=\ \ %Y
" Column number
set statusline+=\ %3.3(%c%)
" Current line / number of lines in buffer
set statusline+=\ \ %3.9(%l/%L%)
" Percentage through file in lines
" set statusline+=\ \ %2.3p%%
" File size
set statusline+=\ \ %{FileSize()}
" Truncate here if line is too long
set statusline+=%<
" Path to the file
set statusline+=\ \ CurDir:%{CurDir()}
" Create encodings menu
menu Encoding.UTF-8 :e ++enc=utf8 <CR>
menu Encoding.Windows-1251 :e ++enc=cp1251<CR>
menu Encoding.koi8-r :e ++enc=koi8-r<CR>
menu Encoding.cp866 :e ++enc=cp866<CR>
" Spell checking
if version >= 700
" Turn off spell checking
set nospell
menu Spell.off :setlocal spell spelllang= <cr>
menu Spell.Russian+English :setlocal spell spelllang=ru,en <cr>
menu Spell.Russian :setlocal spell spelllang=ru <cr>
menu Spell.English :setlocal spell spelllang=en <cr>
menu Spell.-SpellControl- :
menu Spell.Word\ Suggest<Tab>z= z=
menu Spell.Previous\ Wrong\ Word<Tab>[s [s
menu Spell.Next\ Wrong\ Word<Tab>]s ]s
endif
" Folding
" za = toggle current fold
" zR = open all folds
" zM = close all folds
" From https://github.com/sjl/dotfiles/blob/master/vim/.vimrc
function! MyFoldText()
let line = getline(v:foldstart)
let nucolwidth = &fdc + &number * &numberwidth
let windowwidth = winwidth(0) - nucolwidth - 3
let foldedlinecount = v:foldend - v:foldstart
" expand tabs into spaces
let onetab = strpart(' ', 0, &tabstop)
let line = substitute(line, '\t', onetab, 'g')
let line = strpart(line, 0, windowwidth - 2 - len(foldedlinecount))
let fillcharcount = windowwidth - len(line) - len(foldedlinecount)
return line . '…' . repeat(" ",fillcharcount) . foldedlinecount . '…' . ' '
endfunction
set foldtext=MyFoldText()
" Lines with equal indent form a fold
set foldmethod=indent
" Maximum nesting of folds
" Only available when compiled with the +folding feature
set foldnestmax=10
" All folds are open
" Only available when compiled with the +folding feature
set nofoldenable
" Folds with a higher level will be closed
" Only available when compiled with the +folding feature
set foldlevel=1
" Remove the extrafills --------
" Only available when compiled with the +windows and +folding features
set fillchars="fold: "
" Search
" While typing a search command, show pattern matches as it is typed
" Only available when compiled with the +extra_search feature
set incsearch
" When there is a previous search pattern, highlight all its matches
" Only available when compiled with the +extra_search feature
set hlsearch
" Ignore case in search patterns
set ignorecase
" Override the 'ignorecase' if the search pattern contains upper case characters
set smartcase
" All matches in a line are substituted instead of one
set gdefault
" Key bindings
let mapleader = ","
" ,m
" Toggle mouse support in Normal mode
set mouse=
function! ToggleMouse()
if &mouse == 'a'
set mouse=
echo "Mouse usage disabled"
else
set mouse=a
echo "Mouse usage enabled"
endif
endfunction
nnoremap <leader>m :call ToggleMouse()<CR>
" ,r
" Find and replace in all open buffers
" See http://vim.wikia.com/wiki/VimTip382
function! Replace()
let s:word = input("Replace " . expand('<cword>') . " with:")
:exe 'bufdo! %s/\<' . expand('<cword>') . '\>/' . s:word . '/gce'
:unlet! s:word
endfunction
nnoremap <Leader>r :<C-u>call Replace()<CR>
" <Esc><Esc>
" Clear the search highlight in Normal mode
nnoremap <silent> <Esc><Esc> :nohlsearch<CR><Esc>
" < >
vnoremap < <gv
vnoremap > >gv
" ,p
" Toggle the 'paste' option
set pastetoggle=<Leader>p
" ,nm
" Switch type of line numbers
" http://stackoverflow.com/questions/4387210/vim-how-to-map-two-tasks-under-one-shortcut-key
" Vim 7.3 required
let g:relativenumber = 0
function! ToogleRelativeNumber()
if g:relativenumber == 0
let g:relativenumber = 1
set norelativenumber
set number
echo "Show line numbers"
elseif g:relativenumber == 1
let g:relativenumber = 2
set nonumber
set relativenumber
echo "Show relative line numbers"
else
let g:relativenumber = 0
set nonumber
set norelativenumber
echo "Show no line numbers"
endif
endfunction
nnoremap <Leader>nm :<C-u>call ToogleRelativeNumber()<cr>
" ,g
" Toggle GUI elements
" Only available when compiled with GUI enabled
function! ToggleGUINoise()
if &go==''
exec('se go=mTrL')
echo "Show GUI elements"
else
exec('se go=')
echo "Show no GUI elements"
endif
endfunction
nnoremap <Leader>g <Esc>:<C-u>call ToggleGUINoise()<cr>
" ,f
" Fast grep
" Recursive search in current directory for matches with current word
nnoremap <Leader>f :<C-u>execute "Ack " . expand("<cword>") <Bar> cw<CR>
" ,s
" Shortcut for :%s//
nnoremap <leader>s :<C-u>%s//<left>
vnoremap <leader>s :s//<left>
" Move lines
" Move one line
nnoremap <C-S-k> ddkP
nnoremap <C-S-j> ddp
" Move selected lines
" See http://www.vim.org/scripts/script.php?script_id=1590
vnoremap <C-S-k> xkP'[V']
vnoremap <C-S-j> xp'[V']
" Y from cursor position to the end of line
nnoremap Y y$
" Pasting with correct indention
" nnoremap p p=`]
" nnoremap P P=`[
" Disable <Arrow keys>
" Warning: nightmare mode!
inoremap <Up> <NOP>
inoremap <Down> <NOP>
inoremap <Left> <NOP>
inoremap <Right> <NOP>
noremap <Up> <NOP>
noremap <Down> <NOP>
noremap <Left> <NOP>
noremap <Right> <NOP>
" Navigate with <Ctrl>-hjkl in Insert mode
inoremap <C-h> <C-o>h
inoremap <C-j> <C-o>j
inoremap <C-k> <C-o>k
inoremap <C-l> <C-o>l
" Switch splits
nnoremap <C-h> <C-W>h
nnoremap <C-j> <C-W>j
nnoremap <C-k> <C-W>k
nnoremap <C-l> <C-W>l
" ,v
" Open the .vimrc in a new tab
nnoremap <leader>v :<C-u>tabedit $MYVIMRC<CR>
:cabbrev e NERDTreeClose<CR>:e!
" <Space> = <PageDown>
nnoremap <Space> <PageDown>
" n и N
" Search matches are always in center
nnoremap n nzz
nnoremap N Nzz
nnoremap * *zz
nnoremap # #zz
nnoremap g* g*zz
nnoremap g# g#zz
" K to split
" Basically this splits the current line into two new ones at the cursor position,
" then joins the second one with whatever comes next.
"
" Example: Cursor Here
" |
" V
" foo = ('hello', 'world', 'a', 'b', 'c',
" 'd', 'e')
"
" becomes
"
" foo = ('hello', 'world', 'a', 'b',
" 'c', 'd', 'e')
"
" Especially useful for adding items in the middle of long lists/tuples in Python
" while maintaining a sane text width.
nnoremap K <nop>
nnoremap K h/[^ ]<cr>"zd$jyyP^v$h"zpJk:s/\v +$//<cr>:noh<cr>j^
" Navigate through wrapped lines
noremap j gj
noremap k gk
" gf
" Open file under cursor in a new vertical split
nnoremap gf :<C-u>vertical wincmd f<CR>
" Create a new window relative to the current one
nnoremap <Leader><left> :<C-u>leftabove vnew<CR>
nnoremap <Leader><right> :<C-u>rightbelow vnew<CR>
nnoremap <Leader><up> :<C-u>leftabove new<CR>
nnoremap <Leader><down> :<C-u>rightbelow new<CR>
" Copy indented line without spaces
nnoremap ,y ^yg_"_dd
" ,c
" camelCase => camel_case
vnoremap <silent> <Leader>c :s/\v\C(([a-z]+)([A-Z]))/\2_\l\3/g<CR>
" <Space><Space>
" Double space to ". "
" inoremap <Space><Space> .
" ,ts
" Fix trailing white space
nnoremap <leader>ts :<C-u>%s/\s\+$//e<CR>
" ,bl
" Show buffers
nnoremap <Leader>bl :<C-u>ls<cr>:b
" ,bp
" Go to prev buffer
nnoremap <Leader>bp :<C-u>bp<cr>
" ,bn
" Go to next buffer
nnoremap <Leader>bn :<C-u>bn<cr>
" ,u
" Change case to uppercase
nnoremap <Leader>u gUiw
inoremap <Leader>u <esc>gUiwea
" In command mode allow to jump to begin/end line
" just like in terminal
cnoremap <c-e> <end>
inoremap <c-e> <c-o>$
cnoremap <c-a> <home>
inoremap <c-a> <c-o>^
" ,b
" In Visual mode exec git blame with selected text
vnoremap <Leader>b :<C-U>!git blame <C-R>=expand("%:p") <CR> \| sed -n <C-R>=line("'<") <CR>,<C-R>=line("'>") <CR>p <CR>
" ,w
" Jump to next split
nnoremap <Leader>w <C-w>w
" Ctrl+s
noremap <C-s> <esc>:w<CR>
inoremap <C-s> <esc>:w<CR>
" ,n
" Edit another file in the same directory with the current one
noremap <Leader>n :<C-u>vnew <C-R>=expand("%:p:h") . '/'<CR>
" Bind :Q to :q
command! Q q
" {<CR>
" auto complete {} indent and position the cursor in the middle line
inoremap {<CR> {<CR>}<Esc>O
inoremap (<CR> (<CR>)<Esc>O
inoremap [<CR> [<CR>]<Esc>O
" Fold with space
" nnoremap <Space> za
" vnoremap <Space> zf
" Switch tabs with <Tab>
nnoremap <Tab> gt
nnoremap <S-Tab> gT
" Ремапим русские символы
" set langmap=ёйцукенгшщзхъфывапролджэячсмитьбюЁЙЦУКЕHГШЩЗХЪФЫВАПРОЛДЖЭЯЧСМИТЬБЮ;`qwertyuiop[]asdfghjkl\\;'zxcvbnm\\,.~QWERTYUIOP{}ASDFGHJKL:\\"ZXCVBNM<>
" Environment
" Store lots of history entries: :cmdline and search patterns
set history=1000
" Save file with root permissions
command! W exec 'w !sudo tee % > /dev/null' | e!
" Backspacing settings
" start allow backspacing over the start of insert;
" CTRL-W and CTRL-U stop once at the start of insert.
" indent allow backspacing over autoindent
" eol allow backspacing over line breaks (join lines)
set backspace=indent,eol,start
" Backup и swp files
" Don't create backups
set nobackup
" Don't create swap files
set noswapfile
" Load previous session
" Only available when compiled with the +viminfo feature
if !has('nvim')
set viminfo='10,\"100,:20,%,n~/.viminfo
else
" Do nothing here to use the neovim default
" or do soemething like:
" set viminfo+=n~/.shada
endif
" Set cursor to its last position
au BufReadPost * if line("'\"") > 0|if line("'\"") <= line("$")|exe("norm '\"")|else|exe "norm $"|endif|endif
" AutoReload .vimrc
" See http://vimcasts.org/episodes/updating-your-vimrc-file-on-the-fly/
" Source the vimrc file after saving it
if has("autocmd")
autocmd! bufwritepost .vimrc source $MYVIMRC
endif
" Go to last file(s) if invoked without arguments
" http://vimcastsim.wikia.com/wiki/Open_the_last_edited_file
" autocmd VimLeave * nested if (!isdirectory($HOME . "/.vim")) |
" \ call mkdir($HOME . "/.vim") |
" \ endif |
" \ execute "mksession! " . $HOME . "/.vim/Session.vim"
" autocmd VimEnter * nested if argc() == 0 && filereadable($HOME . "/.vim/Session.vim") |
" \ execute "source " . $HOME . "/.vim/Session.vim"
" Auto change the directory to the current file I'm working on
autocmd BufEnter * lcd %:p:h
" Save on losing focus
" Only available for GUI
autocmd FocusLost * :wa
" Resize splits when the window is resized
" Only available for GUI
au VimResized * exe "normal! \<c-w>="
" File specific
autocmd BufNewFile *.py 0r ~/.vimi/templates/template.py
autocmd BufNewFile *.xml 0r ~/.vimi/templates/template.xml
autocmd BufNewFile *.xsl 0r ~/.vimi/templates/template.xsl
autocmd BufNewFile *.jade 0r ~/.vimi/templates/template.jade
autocmd BufNewFile *.html 0r ~/.vimi/templates/template.html
autocmd FileType jade setlocal expandtab shiftwidth=2 tabstop=2 softtabstop=2
" Plugins
" Solarized
syntax enable
" http://stackoverflow.com/questions/7278267/incorrect-colors-with-vim-in-iterm2-using-solarized#comment11144700_7278548
let g:solarized_termcolors=256
set background=dark
try
colorscheme solarized
catch /^Vim\%((\a\+)\)\=:E185/
echo "Solarized theme not found. Run :BundleInstall"
endtry
try
call togglebg#map("<Leader>b")
catch /^Vim\%((\a\+)\)\=:E117/
" :(
endtry
" NERDTree
nnoremap <Bs> :<C-u>NERDTreeToggle<CR>
let NERDTreeShowBookmarks=1
let NERDTreeChDirMode=2
let NERDTreeQuitOnOpen=1
let NERDTreeShowHidden=1
let NERDTreeKeepTreeInNewTab=0
" Disable display of the 'Bookmarks' label and 'Press ? for help' text
let NERDTreeMinimalUI=1
" Use arrows instead of + ~ chars when displaying directories
let NERDTreeDirArrows=1
let NERDTreeBookmarksFile= $HOME . '/.vim/.NERDTreeBookmarks'
" VimWiki
let g:vimwiki_list = [{'path': '~/Yandex.Dist.localized/vimwiki/'}]