Merge branch 'master' of warwick-new.co.uk:vim-conf
This commit is contained in:
commit
3945505030
2 changed files with 8 additions and 4 deletions
|
|
@ -32,6 +32,7 @@ Plugin 'prabirshrestha/vim-lsp'
|
|||
Plugin 'mattn/vim-lsp-settings'
|
||||
Plugin 'prabirshrestha/asyncomplete.vim'
|
||||
Plugin 'tikhomirov/vim-glsl'
|
||||
Plugin 'mattn/calendar-vim'
|
||||
|
||||
" All of your Plugins must be added before the following line
|
||||
call vundle#end() " required
|
||||
|
|
@ -128,7 +129,10 @@ autocmd! BufNewFile,BufRead *.vs,*.fs,*.glsl,*.frag,*.vert set ft=glsl
|
|||
let g:vimwiki_list = [{'path': '~/.vimwiki/',
|
||||
\ 'path_html': '~/.vimwiki/HTML',
|
||||
\ 'auto_diary_index': 1,
|
||||
\ 'syntax': 'markdown', 'ext': '.md'}]
|
||||
\ 'syntax': 'markdown', 'ext': '.md',
|
||||
\ 'links_space_char': '_',
|
||||
\ 'vimwiki_use_calendar': 1}]
|
||||
nnoremap <Leader>c :Calendar<CR>
|
||||
|
||||
" A little function to insert user input functionality into remaps
|
||||
function! TagSearch()
|
||||
|
|
|
|||
6
vimrc
6
vimrc
|
|
@ -38,9 +38,9 @@ augroup vimrcEx
|
|||
|
||||
" For all text files set 'textwidth' to 78 characters.
|
||||
"autocmd FileType text setlocal textwidth=78
|
||||
autocmd FileType asciidoc,vimwiki,tex,text setlocal textwidth=80
|
||||
autocmd FileType asciidoc,vimwiki,tex,text setlocal linebreak
|
||||
autocmd FileType asciidoc,vimwiki,tex,text setlocal spell spelllang=en_gb
|
||||
autocmd FileType mail,asciidoc,vimwiki,tex,text setlocal textwidth=80
|
||||
autocmd FileType mail,asciidoc,vimwiki,tex,text setlocal linebreak
|
||||
autocmd FileType mail,asciidoc,vimwiki,tex,text setlocal spell spelllang=en_gb
|
||||
|
||||
|
||||
augroup END
|
||||
|
|
|
|||
Loading…
Reference in a new issue