Organize vimrc
This commit is contained in:
18
.vim/after/plugin/fzf.vim
Normal file
18
.vim/after/plugin/fzf.vim
Normal file
@@ -0,0 +1,18 @@
|
||||
" FZF
|
||||
nn <c-p> :FZF<cr>
|
||||
nn <leader>p :FZF<cr>
|
||||
nn <leader>b :Buffers<cr>
|
||||
nn <leader>h :History<cr>
|
||||
let g:fzf_action = {
|
||||
\ 'ctrl-t': 'tab split',
|
||||
\ 'ctrl-s': 'split',
|
||||
\ 'ctrl-v': 'vsplit'
|
||||
\}
|
||||
|
||||
" Insert path completion
|
||||
" ino <expr><c-f> fzf#vim#complete#path('ag -l -g *.md')
|
||||
" ino <c-f> <plug>(fzf-complete-file-ag)
|
||||
ino <expr><c-f> fzf#vim#complete#path("ag -l -g '' \| sed -e 's/\.md$//'")
|
||||
" Use `the_silver_searcher` to find results (for selection if selection)
|
||||
nn <leader>f :Ag<cr>
|
||||
vm <leader>f :Ag <C-r>"<cr>
|
||||
2
.vim/after/plugin/quickscope.vim
Normal file
2
.vim/after/plugin/quickscope.vim
Normal file
@@ -0,0 +1,2 @@
|
||||
let g:qs_max_chars=80
|
||||
let g:qs_lazy_highlight = 1
|
||||
4
.vim/after/plugin/taskwiki.vim
Normal file
4
.vim/after/plugin/taskwiki.vim
Normal file
@@ -0,0 +1,4 @@
|
||||
let g:taskwiki_taskrc_location='/home/h/.config/task/taskrc'
|
||||
let g:taskwiki_disable_concealcursor=1
|
||||
let g:taskwiki_dont_preserve_folds=1
|
||||
let g:taskwiki_dont_fold=1
|
||||
@@ -1,3 +0,0 @@
|
||||
xm <leader>c <plug>Commentary
|
||||
nm <leader>c <plug>Commentary
|
||||
nm <leader>cc <plug>CommentaryLine
|
||||
6
.vim/after/plugin/vim-javascript.vim
Normal file
6
.vim/after/plugin/vim-javascript.vim
Normal file
@@ -0,0 +1,6 @@
|
||||
let g:javascript_plugin_jsdoc = 1 " jsdoc syntax highlighting
|
||||
let g:javascript_plugin_flow = 1 " flow syntax highlighting
|
||||
let g:javascript_conceal_function = "ƒ"
|
||||
let g:javascript_conceal_return = "⇖"
|
||||
let g:svelte_indent_script = 0
|
||||
let g:svelte_indent_style = 0
|
||||
14
.vim/after/plugin/vim-tidal.vim
Normal file
14
.vim/after/plugin/vim-tidal.vim
Normal file
@@ -0,0 +1,14 @@
|
||||
" Tidalcycles (sclang and vim-tidal)
|
||||
let g:tidal_default_config = {"socket_name": "default", "target_pane": "tidal:1.1"}
|
||||
let g:tidal_no_mappings = 1
|
||||
|
||||
au FileType tidal nm <buffer> <leader>ep <Plug>TidalParagraphSend
|
||||
au FileType tidal nm <buffer> <leader>ee <Plug>TidalLineSend
|
||||
au FileType tidal nnoremap <buffer> <leader>h :TidalHush<cr>
|
||||
au FileType tidal com! -nargs=1 S :TidalSilence <args>
|
||||
au FileType tidal com! -nargs=1 P :TidalPlay <args>
|
||||
au FileType tidal com! -nargs=0 H :TidalHush
|
||||
|
||||
" SuperCollider
|
||||
au BufEnter,BufWinEnter,BufNewFile,BufRead *.sc,*.scd se filetype=supercollider
|
||||
au Filetype supercollider packadd scvim
|
||||
4
.vim/after/plugin/vimtex.vim
Normal file
4
.vim/after/plugin/vimtex.vim
Normal file
@@ -0,0 +1,4 @@
|
||||
let g:vimtex_view_method='zathura'
|
||||
let g:tex_flavor='latex'
|
||||
let g:tex_conceal='abdmgs'
|
||||
let g:vimtex_quickfix_mode=0
|
||||
Reference in New Issue
Block a user