aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.shenanigans.sh2
-rw-r--r--.tmux.conf2
-rw-r--r--.vimrc17
3 files changed, 16 insertions, 5 deletions
diff --git a/.shenanigans.sh b/.shenanigans.sh
index be3e7d3..ab8d5ab 100755
--- a/.shenanigans.sh
+++ b/.shenanigans.sh
@@ -1,7 +1,7 @@
1# Software list (Void Linux): 1# Software list (Void Linux):
2# void-repo-nonfree void-repo-multilib void-repo-multilib-nonfree 2# void-repo-nonfree void-repo-multilib void-repo-multilib-nonfree
3# file-roller xfce4-plugins thunar-archive-plugin 3# file-roller xfce4-plugins thunar-archive-plugin
4# lm_sensors conky maim xlockmore picom cwm xclip xsetroot xdotool 4# lm_sensors conky maim xlockmore picom cwm xclip xsel xsetroot xdotool
5# xss-lock wmctrl zip mc htop entr cifs-utils rsync jq rofi st fd 5# xss-lock wmctrl zip mc htop entr cifs-utils rsync jq rofi st fd
6# clang clang-tools-extra vim git curl tmux hstr tree make cmake gdb 6# clang clang-tools-extra vim git curl tmux hstr tree make cmake gdb
7# nvtop ctags stow newsboat mpv rsync python3-pipx lazygit 7# nvtop ctags stow newsboat mpv rsync python3-pipx lazygit
diff --git a/.tmux.conf b/.tmux.conf
index 6d060f8..a4996f0 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -17,6 +17,8 @@ set -g status-bg '#222222'
17set -g status-fg '#ffffff' 17set -g status-fg '#ffffff'
18set -g window-status-current-format "#[fg=#ffffff]#[bg=#000000]#[fg=#ffffff]#[bg=#000000] #I:#W #[fg=#ffffff]#[bg=#000000]" 18set -g window-status-current-format "#[fg=#ffffff]#[bg=#000000]#[fg=#ffffff]#[bg=#000000] #I:#W #[fg=#ffffff]#[bg=#000000]"
19 19
20bind -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "xsel -i --clipboard"
21
20bind-key Up select-pane -U 22bind-key Up select-pane -U
21bind-key Down select-pane -D 23bind-key Down select-pane -D
22bind-key Left select-pane -L 24bind-key Left select-pane -L
diff --git a/.vimrc b/.vimrc
index 6b08d02..1fc7921 100644
--- a/.vimrc
+++ b/.vimrc
@@ -12,10 +12,17 @@ call plug#end()
12set encoding=utf8 spelllang=en_us laststatus=2 tabstop=4 shiftwidth=4 12set encoding=utf8 spelllang=en_us laststatus=2 tabstop=4 shiftwidth=4
13set number autoindent cursorline ignorecase hlsearch incsearch signcolumn=yes 13set number autoindent cursorline ignorecase hlsearch incsearch signcolumn=yes
14set hidden nowrap nobackup noswapfile noundofile autoread updatetime=300 14set hidden nowrap nobackup noswapfile noundofile autoread updatetime=300
15set backspace=indent,eol,start completeopt=menuone path+=** 15set backspace=indent,eol,start completeopt=menuone path+=**
16set foldmethod=syntax foldlevel=99 foldopen= lazyredraw
16set wildignore+=*/.git/*,*/.hg/*,*/.svn/*,*/vendor,tags,*.o,*.a,*.so 17set wildignore+=*/.git/*,*/.hg/*,*/.svn/*,*/vendor,tags,*.o,*.a,*.so
18set grepprg=rg\ --vimgrep\ --no-heading\ --smart-case
17colorscheme wildcharm 19colorscheme wildcharm
18 20
21if executable('rg')
22 set grepprg=rg\ --vimgrep\ --smart-case
23 set grepformat=%f:%l:%c:%m
24endif
25
19nnoremap <C-Right> :bnext<CR> 26nnoremap <C-Right> :bnext<CR>
20nnoremap <C-Left> :bprevious<CR> 27nnoremap <C-Left> :bprevious<CR>
21nnoremap <C-q> :copen<CR> 28nnoremap <C-q> :copen<CR>
@@ -28,15 +35,17 @@ nnoremap <Leader>d :bd<CR>
28nnoremap <leader>t :term<CR> 35nnoremap <leader>t :term<CR>
29nnoremap <Leader>q :nohlsearch<CR> 36nnoremap <Leader>q :nohlsearch<CR>
30nnoremap <Leader>e :ALEPopulateQuickfix<CR>:sleep 100m<CR>:copen<CR> 37nnoremap <Leader>e :ALEPopulateQuickfix<CR>:sleep 100m<CR>:copen<CR>
31nnoremap <leader>w :vimgrep /<C-r><C-w>/gj **/*<CR>:copenx<CR> 38" nnoremap <leader>w :vimgrep /<C-r><C-w>/gj **/*<CR>:copen<CR>
39
40nnoremap <leader>w :silent! grep! <cword> \| cwindow \| redraw!<CR>
41
32 42
33nmap <silent> gr :ALEFindReferences -quickfix<CR>:sleep 100m<CR>:copen<CR> 43nmap <silent> gr :ALEFindReferences -quickfix<CR>:sleep 100m<CR>:copen<CR>
34nmap <silent> gd :ALEGoToDefinition<CR> 44nmap <silent> gd :ALEGoToDefinition<CR>
35nmap <silent> re :ALERename<CR> 45nmap <silent> re :ALERename<CR>
36 46
37" let g:ctrlp_use_caching = 0 47let g:ctrlp_use_caching = 0
38" let g:ctrlp_working_path_mode = '' 48" let g:ctrlp_working_path_mode = ''
39
40let g:ctrlp_working_path_mode = 'ra' 49let g:ctrlp_working_path_mode = 'ra'
41let g:ale_hover_to_floating_preview = 1 50let g:ale_hover_to_floating_preview = 1
42let g:ale_detail_to_floating_preview = 1 51let g:ale_detail_to_floating_preview = 1