dotoo is too buggy so lets use vimwiki
This commit is contained in:
parent
b30d30f9f7
commit
001f85495e
2 changed files with 18 additions and 12 deletions
24
plugins.vim
24
plugins.vim
|
|
@ -20,7 +20,8 @@ Plugin 'Yggdroot/indentLine'
|
||||||
Plugin 'tpope/vim-fugitive'
|
Plugin 'tpope/vim-fugitive'
|
||||||
Plugin 'jiangmiao/auto-pairs'
|
Plugin 'jiangmiao/auto-pairs'
|
||||||
Plugin 'tpope/vim-surround'
|
Plugin 'tpope/vim-surround'
|
||||||
Plugin 'dhruvasagar/vim-dotoo'
|
"Plugin 'dhruvasagar/vim-dotoo'
|
||||||
|
Plugin 'vimwiki/vimwiki'
|
||||||
Plugin 'sheerun/vim-polyglot'
|
Plugin 'sheerun/vim-polyglot'
|
||||||
" Language C++/glsl
|
" Language C++/glsl
|
||||||
"Plugin 'ycm-core/YouCompleteMe'
|
"Plugin 'ycm-core/YouCompleteMe'
|
||||||
|
|
@ -108,13 +109,14 @@ endif
|
||||||
autocmd! BufNewFile,BufRead *.vs,*.fs,*.glsl,*.frag,*.vert set ft=glsl
|
autocmd! BufNewFile,BufRead *.vs,*.fs,*.glsl,*.frag,*.vert set ft=glsl
|
||||||
|
|
||||||
" dotoo
|
" dotoo
|
||||||
let g:dotoo#agenda#files = ['~/org/*.org']
|
"set hidden
|
||||||
let g:dotoo#capture#refile = expand('~/org/refile.org')
|
"let g:dotoo#agenda#files = ['~/Dropbox/org/*.org']
|
||||||
autocmd! BufNewFile,BufRead *.org set filetype=dotoo
|
"let g:dotoo#capture#refile = expand('~/Dropbox/org/refile.org')
|
||||||
augroup dotoo
|
"autocmd! BufNewFile,BufRead *.org set filetype=dotoo
|
||||||
autocmd!
|
"augroup dotoo
|
||||||
autocmd BufNewFile,BufRead *.org *.dotoo set hidden
|
" autocmd!
|
||||||
autocmd FileType dotoo,org,tex,text setlocal textwidth=80
|
" autocmd BufNewFile,BufRead *.org *.dotoo set hidden
|
||||||
autocmd FileType dotoo,org,tex,text setlocal spell spelllang=en_gb
|
" autocmd FileType dotoo,org,tex,text setlocal textwidth=80
|
||||||
|
" autocmd FileType dotoo,org,tex,text setlocal spell spelllang=en_gb
|
||||||
augroup END
|
"
|
||||||
|
"augroup END
|
||||||
|
|
|
||||||
4
vimrc
4
vimrc
|
|
@ -96,6 +96,10 @@ hi Cursor ctermbg=15
|
||||||
" set spellcheck
|
" set spellcheck
|
||||||
"set spell
|
"set spell
|
||||||
|
|
||||||
|
" Make reading easier
|
||||||
|
set wrap linebreak nolist
|
||||||
|
:set concealcursor=""
|
||||||
|
|
||||||
"Leader mapping
|
"Leader mapping
|
||||||
let mapleader = "\<Space>"
|
let mapleader = "\<Space>"
|
||||||
nnoremap <Leader>? :echon " n :Lex \n l? lsp help (if implemented in buffer)"<CR>
|
nnoremap <Leader>? :echon " n :Lex \n l? lsp help (if implemented in buffer)"<CR>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue