|
diff --git a/.shenanigans.sh b/.shenanigans.sh
|
| ... |
| 4 |
# lm_sensors conky maim xlockmore rofi picom cwm xclip xsetroot st |
4 |
# lm_sensors conky maim xlockmore rofi picom cwm xclip xsetroot st |
| 5 |
# xss-lock wmctrl zip mc htop entr ack cifs-utils rsync xdotool jq |
5 |
# xss-lock wmctrl zip mc htop entr ack cifs-utils rsync xdotool jq |
| 6 |
# clang clang-tools-extra vim git curl tmux hstr tree make cmake |
6 |
# clang clang-tools-extra vim git curl tmux hstr tree make cmake |
| 7 |
# stow newsboat mpv rsync python3-pipx lazygit fossil |
7 |
# ctags stow newsboat mpv rsync python3-pipx lazygit fossil |
| 8 |
# Additonal stuff: |
8 |
# Additonal stuff: |
| 9 |
# pipx install pyright |
9 |
# pipx install pyright |
| 10 |
# go install golang.org/x/tools/gopls@latest |
10 |
# go install golang.org/x/tools/gopls@latest |
| ... |
|
diff --git a/.vimrc b/.vimrc
|
| 1 |
set nocompatible |
1 |
set nocompatible noexrc secure |
|
|
2 |
filetype plugin on |
| 2 |
|
3 |
|
| 3 |
call plug#begin() |
4 |
call plug#begin() |
| 4 |
Plug 'tpope/vim-commentary' |
5 |
Plug 'tpope/vim-commentary' |
| 5 |
Plug 'ctrlpvim/ctrlp.vim' |
6 |
Plug 'airblade/vim-gitgutter' |
| 6 |
Plug 'dense-analysis/ale' |
7 |
Plug 'ctrlpvim/ctrlp.vim' |
| 7 |
Plug 'airblade/vim-gitgutter' |
|
|
| 8 |
call plug#end() |
8 |
call plug#end() |
| 9 |
|
9 |
|
| 10 |
set laststatus=2 encoding=utf8 spelllang=en_us tabstop=4 shiftwidth=4 |
10 |
set laststatus=2 encoding=utf8 spelllang=en_us tabstop=4 shiftwidth=4 |
| 11 |
set number relativenumber autoindent cursorline ignorecase signcolumn=yes |
11 |
set number relativenumber autoindent cursorline ignorecase signcolumn=yes |
| 12 |
set hidden nowrap nobackup noswapfile noundofile autoread updatetime=300 |
12 |
set hidden nowrap nobackup noswapfile noundofile autoread updatetime=300 |
| 13 |
set hlsearch incsearch backspace=indent,eol,start path=** |
13 |
set hlsearch incsearch backspace=indent,eol,start path+=** |
|
|
14 |
set completeopt=menuone,noinsert,noselect,longest |
| 14 |
colorscheme wildcharm |
15 |
colorscheme wildcharm |
| 15 |
|
16 |
|
| 16 |
nnoremap <C-Right> :bnext<cr> |
17 |
nnoremap <C-Right> :bnext<cr> |
| 17 |
nnoremap <C-Left> :bprevious<cr> |
18 |
nnoremap <C-Left> :bprevious<cr> |
| 18 |
nnoremap <C-q> :copen<cr> |
19 |
nnoremap <C-q> :copen<cr> |
| 19 |
nnoremap <C-b> :CtrlPBuffer<cr> |
20 |
nnoremap <C-b> :CtrlPBuffer<cr> |
| 20 |
nnoremap <Leader>e :nohlsearch<cr> |
21 |
nnoremap <Leader>q :nohlsearch<cr> |
| 21 |
nnoremap <Leader>q :ALEHover<cr> |
22 |
nnoremap <Leader>c :!ctags -R .<CR> |
| 22 |
nnoremap <Leader>w :ALEDetail<cr> |
|
|
| 23 |
|
|
|
| 24 |
nmap <silent> gr :ALEFindReferences<cr> |
|
|
| 25 |
nmap <silent> gd :ALEGoToDefinition<cr> |
|
|
| 26 |
nmap <silent> re :ALERename<cr> |
|
|
| 27 |
|
23 |
|
| 28 |
let g:ctrlp_use_caching = 0 |
24 |
let g:ctrlp_use_caching = 0 |
| 29 |
let g:ale_completion_enabled = 0 |
25 |
let g:ctrlp_working_path_mode = '' |
| 30 |
let g:ale_hover_to_floating_preview = 1 |
|
|
| 31 |
let g:ale_detail_to_floating_preview = 1 |
|
|
| 32 |
let g:ale_virtualtext_cursor = 0 |
|
|
| 33 |
let g:ale_set_quickfix = 1 |
|
|
| 34 |
let g:ale_linters = { 'c': ['clangd'], 'cpp': ['clangd'] } |
|
|