aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.shenanigans.sh2
-rw-r--r--.vimrc29
2 files changed, 11 insertions, 20 deletions
diff --git a/.shenanigans.sh b/.shenanigans.sh
index e9658e8..219498b 100755
--- a/.shenanigans.sh
+++ b/.shenanigans.sh
@@ -4,7 +4,7 @@
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
index 6eddbff..cae2c54 100644
--- a/.vimrc
+++ b/.vimrc
@@ -1,34 +1,25 @@
1set nocompatible 1set nocompatible noexrc secure
2filetype plugin on
2 3
3call plug#begin() 4call 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'
8call plug#end() 8call plug#end()
9 9
10set laststatus=2 encoding=utf8 spelllang=en_us tabstop=4 shiftwidth=4 10set laststatus=2 encoding=utf8 spelllang=en_us tabstop=4 shiftwidth=4
11set number relativenumber autoindent cursorline ignorecase signcolumn=yes 11set number relativenumber autoindent cursorline ignorecase signcolumn=yes
12set hidden nowrap nobackup noswapfile noundofile autoread updatetime=300 12set hidden nowrap nobackup noswapfile noundofile autoread updatetime=300
13set hlsearch incsearch backspace=indent,eol,start path=** 13set hlsearch incsearch backspace=indent,eol,start path+=**
14set completeopt=menuone,noinsert,noselect,longest
14colorscheme wildcharm 15colorscheme wildcharm
15 16
16nnoremap <C-Right> :bnext<cr> 17nnoremap <C-Right> :bnext<cr>
17nnoremap <C-Left> :bprevious<cr> 18nnoremap <C-Left> :bprevious<cr>
18nnoremap <C-q> :copen<cr> 19nnoremap <C-q> :copen<cr>
19nnoremap <C-b> :CtrlPBuffer<cr> 20nnoremap <C-b> :CtrlPBuffer<cr>
20nnoremap <Leader>e :nohlsearch<cr> 21nnoremap <Leader>q :nohlsearch<cr>
21nnoremap <Leader>q :ALEHover<cr> 22nnoremap <Leader>c :!ctags -R .<CR>
22nnoremap <Leader>w :ALEDetail<cr>
23
24nmap <silent> gr :ALEFindReferences<cr>
25nmap <silent> gd :ALEGoToDefinition<cr>
26nmap <silent> re :ALERename<cr>
27 23
28let g:ctrlp_use_caching = 0 24let g:ctrlp_use_caching = 0
29let g:ale_completion_enabled = 0 25let g:ctrlp_working_path_mode = ''
30let g:ale_hover_to_floating_preview = 1
31let g:ale_detail_to_floating_preview = 1
32let g:ale_virtualtext_cursor = 0
33let g:ale_set_quickfix = 1
34let g:ale_linters = { 'c': ['clangd'], 'cpp': ['clangd'] }