1
0
Fork 0

Compare commits

..

No commits in common. "3045275537718755d9dcf9ac135c4a4ca13bda9c" and "c153174a4efcba4a03c8ab89c6d20888f25d9995" have entirely different histories.

17 changed files with 25 additions and 76 deletions

5
.envrc
View File

@ -1,5 +0,0 @@
# See `direnv stdlib` for special functions provided by _direnv_.
use asdf
# RipGrep settings
export RIPGREP_CONFIG_PATH=$PWD/.ripgreprc

View File

@ -1,28 +0,0 @@
## Colors
#
--colors=path:bg:23
--colors=path:fg:253
## Smart-case Search
#
# - case-insensitive if the pattern is all lowercase;
# - case-sensitive otherwise.
#
# Overrides -s/--case-sensitive and -i/--ignore-case flags.
--smart-case
## Files Types
#
# --type-list to show all supported file types and their corresponding globs.
# --type-not to exclude a type from search.
#
--type-not=bzip2
--type-not=gzip
--type-not=xz
## Sorting in ascending order
# - none (Default) Do not sort results. Fastest. Can be multi-threaded.
# - path Sort by file path. Always single-threaded.
# - modified Sort by the last modified time on a file. Always single-threaded.
#
--sort=path

View File

@ -1,3 +0,0 @@
direnv 2.32.1
ninja 1.11.1
python system

@ -1 +1 @@
Subproject commit 8b4a9523632049b3b373de1233bef346073b8982
Subproject commit 3ce448c9687ae96dea0caf4da388ecd8d9072f72

@ -1 +1 @@
Subproject commit fc85a6f07c2cd694be93496ffad75be126240068
Subproject commit eed488b1cd1867bd25f19f90e10440c5cc7d6424

@ -1 +1 @@
Subproject commit 8985da7669bbd73afce85ef0e4a3e1ce2e488595
Subproject commit 226203be173bf0b95ee2a5cb6575ae604b3f9f7a

@ -1 +1 @@
Subproject commit 733339b699824f0a3c90910c26d8fd949f13783c
Subproject commit 439c576a229769615fa1060cb8d14686c54a22c1

@ -1 +1 @@
Subproject commit 3c7e008a9922702be979dbfe3c5280313f53618b
Subproject commit 4cc954f5cad7ebf6c20b652c6cd6966940752b5b

@ -1 +1 @@
Subproject commit 3d188ed2113431cf8dac77be61b842acb64433d9
Subproject commit bf3480dc9ae7bea34c78fbba4c65b4548b5b1fea

@ -1 +1 @@
Subproject commit 01f3e0af928857128eec8d998948b80ed1678c18
Subproject commit 6ae79e75a44ac3acb88f381ed52898c9f9e01d62

@ -1 +1 @@
Subproject commit 728b47728c31bcbc92fbc196c00230d601ca2a15
Subproject commit 4237c4647ec30215223d597f6172c8c46b8b239e

@ -1 +1 @@
Subproject commit e87cd90dc09c2a203e13af9704bd0ef79303d755
Subproject commit 3654775824337f466109f00eaf6759760f65be34

@ -1 +1 @@
Subproject commit 0f0529bf2a336a4e824a26b733220548d32697a6
Subproject commit f140b8c89b4f82a87770b5ad4973d34187e9357e

@ -1 +1 @@
Subproject commit 400a12081f188f3fb639f8f962456764f39c6ff1
Subproject commit ded11946c04aeab5526f869174044019ae9e3c32

@ -1 +1 @@
Subproject commit 8332f123a63c739c870c96907d987cc3ff719d24
Subproject commit 1d25e8e5dc4062e38cab1a461934ee5e9d59e5a8

@ -1 +1 @@
Subproject commit 71f239af28b7214eebb60d4ea5bd040291fb7e33
Subproject commit a2258658661e42dd4cdba4958805dbad1fe29ef4

39
vimrc
View File

@ -32,6 +32,7 @@
" git submodule foreach 'git fetch; echo "\n\n"'
" git submodule foreach 'LANG=C git status | egrep --color=always "(up to date|behind)"; echo -n " "; git branch -r | grep HEAD; echo "\n\n"'
" git submodule foreach 'git merge FETCH_HEAD; echo "\n\n"'
" 2020-10: git checkout master / git merge origin/master
" To create all doc indexes
" :helptags ALL
@ -206,30 +207,22 @@ set foldlevel=1
set backup
set undofile
" 21 - command line editing {{{2
" 21 command line editing {{{2
set wildignore+=*.o
" 23 - quickfix {{{2
" 23 quickfix {{{2
" External grep
"
" Tutorial: https://phelipetls.github.io/posts/extending-vim-with-ripgrep/
"
" See https://phelipetls.github.io/posts/extending-vim-with-ripgrep/
if executable("rg")
set grepprg=rg\ --vimgrep
set grepformat=%f:%l:%c:%m
" Quickfix
" Quickfix Unimpaired: [q ]q
" :gr[ep]
" :grepa[dd]
" Location
" Location Unimpaired: [l ]l
" :lgr[ep][!]
" Unimpaired shortcuts:
" [^Q ]^Q [Q ]Q [q ]q (file/first/previous)
" Same with L
set grepprg=rg\ --vimgrep
set grepformat=%f:%l:%c:%m
endif
" 26 - various {{{2
@ -240,8 +233,6 @@ set gdefault " use the 'g' flag for ":substitute"
""" Key Mapping {{{1
"""""""""""""""""""""""
" To test whether a mapping is already used: try the command with no {rhs}
" See :map-special-keys, :map-special-chars & <Char>
" To see all mappings into a buffer:
@ -251,7 +242,6 @@ set gdefault " use the 'g' flag for ":substitute"
""
let mapleader="²"
" Use with <leader>
nmap ( [
nmap ) ]
@ -289,11 +279,6 @@ vnoremap <leader><F1> y:tab help <c-R>"
nnoremap <S-F1> :NERDTree ~/.vim<cr>
nnoremap <C-S-F1> :tabedit ~/.vim/vimrc<cr>
"" External Tools {{{2
""
noremap <leader>k :py3f /usr/share/clang/clang-format-14/clang-format.py<cr>
"" Operator-pending {{{2
" (see Subversive module)
@ -466,8 +451,8 @@ packadd! ingo-library
nmap <leader>* <Plug>MarkSearchAnyNext
nmap <leader># <Plug>MarkSearchAnyPrev
nmap <leader>M <Plug>MarkToggle
nmap <leader>N <Plug>MarkConfirmAllClear
nmap <Leader>M <Plug>MarkToggle
nmap <Leader>N <Plug>MarkConfirmAllClear
if &t_Co == 256 || has("gui_running")
let g:mwDefaultHighlightingPalette = 'extended'
@ -614,8 +599,8 @@ autocmd FileType cpp setlocal comments^=:/// foldmethod=syntax foldlevel=0
""
"" Find, substitute, and abbreviate several variations of a word at once.
" :help abolish-coercion
" abolish-coercion
" camelCase MixedCase _snake_case UPPERCASE -dash-case dot.case space Title
"" ALE {{{2
""