this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add VimWiki

+43 -17
+2
vim/.config/nvim/after/ftplugin/gitcommit.vim
··· 1 1 setlocal spell 2 + setlocal commentstring=;%s 3 + setlocal comments=:; 2 4 3 5 let b:undo_ftplugin = b:undo_ftplugin . ' | setlocal nospell'
+1 -1
vim/.config/nvim/after/ftplugin/markdown.vim
··· 1 1 setlocal spell 2 2 3 - let b:undo_ftplugin = b:undo_ftplugin . ' | setl spell&' 3 + let b:undo_ftplugin = 'setl spell&'
+2
vim/.config/nvim/autoload/plugins.vim
··· 34 34 " }}} 35 35 " Git {{{ 36 36 call minpac#add('tpope/vim-fugitive') 37 + call minpac#add('rbong/vim-flog') 37 38 " }}} 38 39 " Launch screen {{{ 39 40 call minpac#add('mhinz/vim-startify') " Required during startup ··· 92 93 call minpac#add('tpope/vim-dadbod') 93 94 call minpac#add('https://gitlab.com/hauleth/smart.vim.git') 94 95 call minpac#add('reedes/vim-pencil') 96 + call minpac#add('vimwiki/vimwiki') 95 97 " }}} 96 98 endfunc
+23 -4
vim/.config/nvim/init.vim
··· 87 87 " Fuzzy file search {{{ 88 88 nnoremap <Space><Space> :<C-u>Clap files<CR> 89 89 90 + let g:clap_provider_grep_opts = '-H --no-heading --vimgrep --smart-case --hidden --glob !.git' 91 + 90 92 let g:clap#provider#files# = { 91 - \ 'on_typed': function('clap#impl#on_typed'), 92 93 \ 'source': 'rg --files --hidden --glob !.git', 94 + \ 'sink*': function('clap#provider#files#sink_star_impl'), 93 95 \ 'sink': function('clap#provider#files#sink_impl'), 94 - \ 'filter': function('clap#filter#'), 95 96 \ 'support_open_action': v:true, 96 97 \ 'enable_rooter': v:true, 97 - \ 'syntax': 'clap_files' 98 + \ 'syntax': 'clap_files', 99 + \ 'on_move': function('clap#provider#files#on_move_impl') 98 100 \ } 99 101 100 102 set path=,, ··· 197 199 nmap <C-_> <plug>(choosewin) 198 200 " }}} 199 201 " Startify {{{ 200 - let g:startify_list_order = ['sessions', 'dir'] 202 + let g:startify_lists = [ 203 + \ {'type': 'sessions', 'header': [' Sessions']}, 204 + \ {'type': 'commands', 'header': [' Wiki']}, 205 + \ ] 201 206 let g:startify_session_dir = '~/.local/share/nvim/site/sessions/' 202 207 let g:startify_session_autoload = v:true 203 208 let g:startify_session_persistence = v:true 209 + 210 + let g:startify_commands = [ 211 + \ {'w': ['Wiki', 'VimwikiIndex']}, 212 + \ {'d': ['Diary', 'VimwikiDiaryIndex']}, 213 + \ {'t': ['Today', 'VimwikiMakeDiaryNote']}, 214 + \ {'y': ['Yesterday', 'VimwikiMakeYesterdayDiaryNote']}, 215 + \ {'a': ['Tomorrow', 'VimwikiMakeTomorrowDiaryNote']}, 216 + \ ] 204 217 205 218 let g:startify_change_to_dir = v:false 206 219 let g:startify_change_to_vcs_root = v:true ··· 225 238 autocmd BufWritePost .envrc silent !direnv allow % 226 239 augroup END 227 240 endif 241 + 242 + augroup terminal_scrolloff 243 + autocmd! 244 + autocmd BufEnter term://* silent setl scrolloff=0 245 + autocmd BufLeave term://* silent setl scrolloff=9999 246 + augroup END 228 247 229 248 augroup hotfix 230 249 autocmd!
+14 -11
vim/.config/nvim/plugin/langclient.vim
··· 35 35 36 36 augroup LSC 37 37 autocmd! 38 + 38 39 autocmd User lsp_setup call lsp#register_server({ 39 40 \ 'name': 'ElixirLS', 40 41 \ 'cmd': s:nix_shell('elixir-ls', 'elixirLS'), 41 42 \ 'root_uri':{server_info->lsp#utils#path_to_uri( 42 43 \ lsp#utils#find_nearest_parent_file_directory( 43 44 \ lsp#utils#get_buffer_path(), 44 - \ ['mix.lock', 'mix.exs', '.git/'] 45 + \ ['mix.lock', '.git/'] 45 46 \ ))}, 46 47 \ 'whitelist': ['elixir', 'eelixir'] 47 - \}) 48 + \ }) 49 + 48 50 autocmd User lsp_setup call lsp#register_server({ 49 - \ 'name': 'Sourcer', 50 - \ 'cmd': s:nix_shell('erlang_ls -t stdio --stdout', 'erlangSourcer'), 51 + \ 'name': 'ErlangLS', 52 + \ 'cmd': s:nix_shell('erlang_ls --transport stdio', 'erlangLS'), 51 53 \ 'root_uri':{server_info->lsp#utils#path_to_uri( 52 54 \ lsp#utils#find_nearest_parent_file_directory( 53 55 \ lsp#utils#get_buffer_path(), 54 - \ ['rebar.lock', 'rebar.config', '.git/'] 56 + \ ['rebar.lock', '.git/'] 55 57 \ ))}, 56 58 \ 'whitelist': ['erlang'] 57 - \}) 58 - autocmd User lsp_setup call lsp#register_server({ 59 - \ 'name': 'RLS', 60 - \ 'cmd': s:nix_shell('rls'), 61 - \ 'whitelist': ['rust'] 62 - \}) 59 + \ }) 60 + 61 + " autocmd User lsp_setup call lsp#register_server({ 62 + " \ 'name': 'RLS', 63 + " \ 'cmd': s:nix_shell('rls'), 64 + " \ 'whitelist': ['rust'] 65 + " \ }) 63 66 64 67 autocmd User lsp_server_init call <SID>setup_ls() 65 68 autocmd BufEnter * call <SID>setup_ls()
+1 -1
vim/.config/nvim/plugin/projections.vim
··· 27 27 \ 'test/*_test.exs': { 28 28 \ 'type': 'test', 29 29 \ 'alternate': 'lib/{}.ex', 30 - \ 'template': ['defmodule {camelcase|capitalize|dot}Test do', ' use ExUnit.Case', '', ' alias {camelcase|capitalize|dot}, as: Subject', '', ' doctest Subject', 'end'], 30 + \ 'template': ['defmodule {camelcase|capitalize|dot}Test do', ' use ExUnit.Case', '', ' @subject {camelcase|capitalize|dot}', '', ' doctest @subject', 'end'], 31 31 \ }, 32 32 \ 'mix.exs': { 'type': 'mix' }, 33 33 \ 'config/*.exs': { 'type': 'config' },