Compare commits

..

2 Commits

Author SHA1 Message Date
38d06bc325 stuff 2022-12-11 01:39:57 +00:00
66e9abbdee stuff 2022-12-07 17:27:35 +00:00
8 changed files with 47 additions and 73 deletions

View File

@ -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))

View File

@ -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))

View File

@ -3,46 +3,42 @@ name: dev
windows:
- 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:
- main:
- hgd gmscore
- vim
- other:
- hgd gmscore
- other2:
- hgd gmscore
- 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:
- main:
- hgd experimental
- vim
- other:
- hgd experimental
- other2:
- hgd experimental
- 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:
- main:
- hgd notes
- cd ../company/users/cnieves/
- vim
- vim ~/zettelkasten/
- other:
- hgd notes
- cd ../company/users/cnieves/
- other2:
- hgd notes
- cd ../company/users/cnieves/
- vim ~/zettelkasten/Todo.md
- 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:
- main:
- cd ~/.vim/prefs
- vim
- other:
- cd ~/.vim/prefs
- other2:
- cd ~/.vim/prefs

View File

@ -40,6 +40,12 @@ require('packer').startup(function(use)
use 'google/vim-searchindex'
use {
'filipdutescu/renamer.nvim',
branch = 'master',
requires = { {'nvim-lua/plenary.nvim'} }
}
-- Pretty symbols
use 'kyazdani42/nvim-web-devicons'

View File

@ -1,31 +1,24 @@
require('nvim-treesitter.configs').setup {
-- A list of parser names, or "all"
-- ensure_installed = { "c", "lua", "vim", "java", "kotlin"},
ensure_installed = "all",
-- A list of parser names, or "all"
-- ensure_installed = { "c", "lua", "vim", "java", "kotlin"},
ensure_installed = "all",
-- Install parsers synchronously (only applied to `ensure_installed`)
sync_install = false,
-- Install parsers synchronously (only applied to `ensure_installed`)
sync_install = false,
highlight = {
-- `false` will disable the whole extension
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",
},
highlight = {
-- `false` will disable the whole extension
enable = true,
indent = {
enable = true
},
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"},
},
}

View File

@ -64,15 +64,25 @@ function BlazeTestDebug() abort
call <SID>blazeExec("blaze test --java_debug", blaze#GetTargets())
endfunction
function BuildCleaner() abort
function BuildCleanerFile() abort
exe VimuxRunCommand("build_cleaner " . expand('%'))
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>bb :call BlazeBuild()<cr>
nnoremap <Leader>bt :call BlazeTest()<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

View File

@ -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 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 = #{
\ name: 'xsel',
\ copy: {
@ -165,3 +161,6 @@ endfunction
set colorcolumn=80
set mouse=
" makes sure that when opening, files are normal, i.e. not folded.
set nofoldenable

View File

@ -13,7 +13,7 @@ autoload -Uz add-zsh-hook
add-zsh-hook chpwd g3path::hook
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\/}
fi
zle .accept-line