Compare commits
2 Commits
53859df69b
...
38d06bc325
Author | SHA1 | Date | |
---|---|---|---|
38d06bc325 | |||
66e9abbdee |
@ -1,15 +0,0 @@
|
|||||||
((atx_heading
|
|
||||||
(atx_h1_marker) @_h1
|
|
||||||
(_) @h1))
|
|
||||||
((atx_heading
|
|
||||||
(atx_h2_marker) @_h2
|
|
||||||
(_) @h2))
|
|
||||||
((atx_heading
|
|
||||||
(atx_h3_marker) @_h3
|
|
||||||
(_) @h3))
|
|
||||||
((atx_heading
|
|
||||||
(atx_h4_marker) @_h4
|
|
||||||
(_) @h4))
|
|
||||||
((atx_heading
|
|
||||||
(atx_h5_marker) @_h5
|
|
||||||
(_) @h5))
|
|
@ -1,15 +0,0 @@
|
|||||||
((atx_heading
|
|
||||||
(atx_h1_marker) @_h1
|
|
||||||
(_) @h1))
|
|
||||||
((atx_heading
|
|
||||||
(atx_h2_marker) @_h2
|
|
||||||
(_) @h2))
|
|
||||||
((atx_heading
|
|
||||||
(atx_h3_marker) @_h3
|
|
||||||
(_) @h3))
|
|
||||||
((atx_heading
|
|
||||||
(atx_h4_marker) @_h4
|
|
||||||
(_) @h4))
|
|
||||||
((atx_heading
|
|
||||||
(atx_h5_marker) @_h5
|
|
||||||
(_) @h5))
|
|
@ -3,46 +3,42 @@ name: dev
|
|||||||
|
|
||||||
windows:
|
windows:
|
||||||
- gmscore:
|
- gmscore:
|
||||||
layout: 02a8,363x89,0,0[363x74,0,0,14,363x14,0,75{181x14,0,75,15,181x14,182,75,17}]
|
# layout: 02a8,363x89,0,0[363x74,0,0,14,363x14,0,75{181x14,0,75,15,181x14,182,75,17}]
|
||||||
|
layout: main-vertical
|
||||||
panes:
|
panes:
|
||||||
- main:
|
- main:
|
||||||
- hgd gmscore
|
- hgd gmscore
|
||||||
- vim
|
- vim
|
||||||
- other:
|
- other:
|
||||||
- hgd gmscore
|
- hgd gmscore
|
||||||
- other2:
|
|
||||||
- hgd gmscore
|
|
||||||
|
|
||||||
- experimental:
|
- experimental:
|
||||||
layout: 02a8,363x89,0,0[363x74,0,0,14,363x14,0,75{181x14,0,75,15,181x14,182,75,17}]
|
# layout: 02a8,363x89,0,0[363x74,0,0,14,363x14,0,75{181x14,0,75,15,181x14,182,75,17}]
|
||||||
|
layout: main-vertical
|
||||||
panes:
|
panes:
|
||||||
- main:
|
- main:
|
||||||
- hgd experimental
|
- hgd experimental
|
||||||
- vim
|
- vim
|
||||||
- other:
|
- other:
|
||||||
- hgd experimental
|
- hgd experimental
|
||||||
- other2:
|
|
||||||
- hgd experimental
|
|
||||||
- notes:
|
- notes:
|
||||||
layout: 02a8,363x89,0,0[363x74,0,0,14,363x14,0,75{181x14,0,75,15,181x14,182,75,17}]
|
# layout: 02a8,363x89,0,0[363x74,0,0,14,363x14,0,75{181x14,0,75,15,181x14,182,75,17}]
|
||||||
|
layout: main-vertical
|
||||||
panes:
|
panes:
|
||||||
- main:
|
- main:
|
||||||
- hgd notes
|
- hgd notes
|
||||||
- cd ../company/users/cnieves/
|
- cd ../company/users/cnieves/
|
||||||
- vim
|
- vim ~/zettelkasten/
|
||||||
- other:
|
- other:
|
||||||
- hgd notes
|
- hgd notes
|
||||||
- cd ../company/users/cnieves/
|
- cd ../company/users/cnieves/
|
||||||
- other2:
|
- vim ~/zettelkasten/Todo.md
|
||||||
- hgd notes
|
|
||||||
- cd ../company/users/cnieves/
|
|
||||||
- vim:
|
- vim:
|
||||||
layout: 02a8,363x89,0,0[363x74,0,0,14,363x14,0,75{181x14,0,75,15,181x14,182,75,17}]
|
# layout: 02a8,363x89,0,0[363x74,0,0,14,363x14,0,75{181x14,0,75,15,181x14,182,75,17}]
|
||||||
|
layout: main-vertical
|
||||||
panes:
|
panes:
|
||||||
- main:
|
- main:
|
||||||
- cd ~/.vim/prefs
|
- cd ~/.vim/prefs
|
||||||
- vim
|
- vim
|
||||||
- other:
|
- other:
|
||||||
- cd ~/.vim/prefs
|
- cd ~/.vim/prefs
|
||||||
- other2:
|
|
||||||
- cd ~/.vim/prefs
|
|
||||||
|
@ -40,6 +40,12 @@ require('packer').startup(function(use)
|
|||||||
|
|
||||||
use 'google/vim-searchindex'
|
use 'google/vim-searchindex'
|
||||||
|
|
||||||
|
use {
|
||||||
|
'filipdutescu/renamer.nvim',
|
||||||
|
branch = 'master',
|
||||||
|
requires = { {'nvim-lua/plenary.nvim'} }
|
||||||
|
}
|
||||||
|
|
||||||
-- Pretty symbols
|
-- Pretty symbols
|
||||||
use 'kyazdani42/nvim-web-devicons'
|
use 'kyazdani42/nvim-web-devicons'
|
||||||
|
|
||||||
|
@ -1,31 +1,24 @@
|
|||||||
require('nvim-treesitter.configs').setup {
|
require('nvim-treesitter.configs').setup {
|
||||||
-- A list of parser names, or "all"
|
-- A list of parser names, or "all"
|
||||||
-- ensure_installed = { "c", "lua", "vim", "java", "kotlin"},
|
-- ensure_installed = { "c", "lua", "vim", "java", "kotlin"},
|
||||||
ensure_installed = "all",
|
ensure_installed = "all",
|
||||||
|
|
||||||
-- Install parsers synchronously (only applied to `ensure_installed`)
|
-- Install parsers synchronously (only applied to `ensure_installed`)
|
||||||
sync_install = false,
|
sync_install = false,
|
||||||
|
|
||||||
highlight = {
|
highlight = {
|
||||||
-- `false` will disable the whole extension
|
-- `false` will disable the whole extension
|
||||||
enable = true,
|
enable = true,
|
||||||
|
|
||||||
-- rainbow markdown
|
|
||||||
custom_captures = {
|
|
||||||
["h1"] = "h1",
|
|
||||||
["_h1"] = "_h1",
|
|
||||||
["h2"] = "h2",
|
|
||||||
["_h2"] = "_h2",
|
|
||||||
["h3"] = "h3",
|
|
||||||
["_h3"] = "_h3",
|
|
||||||
["h4"] = "h4",
|
|
||||||
["_h4"] = "_h4",
|
|
||||||
["h5"] = "h5",
|
|
||||||
["_h5"] = "_h5",
|
|
||||||
},
|
|
||||||
indent = {
|
indent = {
|
||||||
enable = true
|
enable = true
|
||||||
},
|
},
|
||||||
disable = {"java"},
|
disable = {"java"},
|
||||||
|
--
|
||||||
|
-- Setting this to true will run `:h syntax` and tree-sitter at the same time.
|
||||||
|
-- Set this to `true` if you depend on 'syntax' being enabled (like for indentation).
|
||||||
|
-- Using this option may slow down your editor, and you may see some duplicate highlights.
|
||||||
|
-- Instead of true it can also be a list of languages
|
||||||
|
-- additional_vim_regex_highlighting = true,
|
||||||
|
-- additional_vim_regex_highlighting = {"java"},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -64,15 +64,25 @@ function BlazeTestDebug() abort
|
|||||||
call <SID>blazeExec("blaze test --java_debug", blaze#GetTargets())
|
call <SID>blazeExec("blaze test --java_debug", blaze#GetTargets())
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function BuildCleaner() abort
|
function BuildCleanerFile() abort
|
||||||
exe VimuxRunCommand("build_cleaner " . expand('%'))
|
exe VimuxRunCommand("build_cleaner " . expand('%'))
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
function UnusedDeps() abort
|
||||||
|
exe VimuxRunCommand("unused_deps --nouse_build_api --blaze_options='--config=gmscore_tap' " . join(blaze#GetTargets(), ' '))
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
function BuildCleanerTarget() abort
|
||||||
|
exe VimuxRunCommand("build_cleaner " . join(blaze#GetTargets(), ' '))
|
||||||
|
endfunction
|
||||||
|
|
||||||
nnoremap <Leader>br :call BlazeRun()<cr>
|
nnoremap <Leader>br :call BlazeRun()<cr>
|
||||||
nnoremap <Leader>bb :call BlazeBuild()<cr>
|
nnoremap <Leader>bb :call BlazeBuild()<cr>
|
||||||
nnoremap <Leader>bt :call BlazeTest()<cr>
|
nnoremap <Leader>bt :call BlazeTest()<cr>
|
||||||
nnoremap <Leader>btd :call BlazeTestDebug()<cr>
|
nnoremap <Leader>btd :call BlazeTestDebug()<cr>
|
||||||
nnoremap <Leader>bc :call BuildCleaner()<cr>
|
nnoremap <Leader>bc :call BuildCleanerTarget()<cr>
|
||||||
|
nnoremap <Leader>bcf :call BuildCleanerFile()<cr>
|
||||||
|
nnoremap <Leader>ud :call UnusedDeps()<cr>
|
||||||
|
|
||||||
let g:asyncrun_open = 1
|
let g:asyncrun_open = 1
|
||||||
|
|
||||||
|
@ -60,10 +60,6 @@ set splitbelow " Puts new split windows to the bottom of the current
|
|||||||
set scrolljump=5 " Line to scroll when cursor leaves screen
|
set scrolljump=5 " Line to scroll when cursor leaves screen
|
||||||
set scrolloff=3 " Minumum lines to keep above and below cursor
|
set scrolloff=3 " Minumum lines to keep above and below cursor
|
||||||
|
|
||||||
" makes sure that when opening, files are normal, i.e. not folded.
|
|
||||||
set nofoldenable
|
|
||||||
set foldmethod=syntax
|
|
||||||
|
|
||||||
let g:clipboard = #{
|
let g:clipboard = #{
|
||||||
\ name: 'xsel',
|
\ name: 'xsel',
|
||||||
\ copy: {
|
\ copy: {
|
||||||
@ -165,3 +161,6 @@ endfunction
|
|||||||
|
|
||||||
set colorcolumn=80
|
set colorcolumn=80
|
||||||
set mouse=
|
set mouse=
|
||||||
|
|
||||||
|
" makes sure that when opening, files are normal, i.e. not folded.
|
||||||
|
set nofoldenable
|
||||||
|
@ -13,7 +13,7 @@ autoload -Uz add-zsh-hook
|
|||||||
add-zsh-hook chpwd g3path::hook
|
add-zsh-hook chpwd g3path::hook
|
||||||
|
|
||||||
g3path::zle::accept-line () {
|
g3path::zle::accept-line () {
|
||||||
if [[ -n $GOOGLE3_ROOT && ! $BUFFER =~ \\s*(blaze|g4|p4|g4d|add_dep|buildozer|build_cleaner|debug_android_lint|rabbit|hb|gqui|builddoctor) ]]; then
|
if [[ -n $GOOGLE3_ROOT && ! $BUFFER =~ \\s*(blaze|g4|p4|g4d|add_dep|buildozer|build_cleaner|debug_android_lint|rabbit|hb|gqui|builddoctor|unused_deps) ]]; then
|
||||||
BUFFER=${BUFFER// \/\// $GOOGLE3_ROOT\/}
|
BUFFER=${BUFFER// \/\// $GOOGLE3_ROOT\/}
|
||||||
fi
|
fi
|
||||||
zle .accept-line
|
zle .accept-line
|
||||||
|
Reference in New Issue
Block a user