mirror of https://github.com/mitchell/dotfiles.git
Add vimwiki; remap vimwiki index combo; minor refactors
This commit is contained in:
parent
4e7972ced1
commit
7192e85f84
|
@ -70,3 +70,6 @@
|
||||||
[submodule ".vim/bundle/limelight.vim"]
|
[submodule ".vim/bundle/limelight.vim"]
|
||||||
path = .vim/bundle/limelight.vim
|
path = .vim/bundle/limelight.vim
|
||||||
url = https://github.com/junegunn/limelight.vim.git
|
url = https://github.com/junegunn/limelight.vim.git
|
||||||
|
[submodule ".vim/bundle/vimwiki"]
|
||||||
|
path = .vim/bundle/vimwiki
|
||||||
|
url = https://github.com/vimwiki/vimwiki.git
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 64c9f3d36d632b1657616c06ea8f08f14cf6438d
|
5
.vimrc
5
.vimrc
|
@ -2,8 +2,8 @@ if &shell =~# 'fish$'
|
||||||
set shell=sh
|
set shell=sh
|
||||||
endif
|
endif
|
||||||
|
|
||||||
syntax enable
|
|
||||||
filetype plugin on
|
filetype plugin on
|
||||||
|
syntax on
|
||||||
execute pathogen#infect()
|
execute pathogen#infect()
|
||||||
|
|
||||||
set t_Co=256
|
set t_Co=256
|
||||||
|
@ -48,6 +48,7 @@ nnoremap <leader>g :ALEGoToDefinition<cr>
|
||||||
nnoremap <leader>r :ALEFindReferences<cr>
|
nnoremap <leader>r :ALEFindReferences<cr>
|
||||||
nnoremap <leader>d :ALEDetail<cr>
|
nnoremap <leader>d :ALEDetail<cr>
|
||||||
nnoremap <leader>h :ALEHover<cr>
|
nnoremap <leader>h :ALEHover<cr>
|
||||||
|
nmap <leader>wk <Plug>VimwikiIndex
|
||||||
|
|
||||||
" next line is necessary to prevent background rendering bug with kitty term
|
" next line is necessary to prevent background rendering bug with kitty term
|
||||||
let &t_ut=''
|
let &t_ut=''
|
||||||
|
@ -99,6 +100,8 @@ let g:ale_elixir_elixir_ls_release = expand('~/Documents/elixir-ls/bin')
|
||||||
|
|
||||||
let g:OmniSharp_server_stdio = 1
|
let g:OmniSharp_server_stdio = 1
|
||||||
|
|
||||||
|
let g:vimwiki_list = [{'path': '/keybase/private/mjfs/wiki'}]
|
||||||
|
|
||||||
augroup js_ft
|
augroup js_ft
|
||||||
au!
|
au!
|
||||||
autocmd BufNewFile,BufRead *.jsx set ft=javascript
|
autocmd BufNewFile,BufRead *.jsx set ft=javascript
|
||||||
|
|
Loading…
Reference in New Issue