|
diff --git a/shenanigans.sh b/shenanigans.sh
|
| ... |
| 51 |
export PATH=$HOME/Applications:$PATH |
51 |
export PATH=$HOME/Applications:$PATH |
| 52 |
export PATH=$HOME/go/bin:$PATH |
52 |
export PATH=$HOME/go/bin:$PATH |
| 53 |
export PATH=/usr/local/go/bin:$PATH |
53 |
export PATH=/usr/local/go/bin:$PATH |
|
|
54 |
export PATH=$HOME/.local/bin/zig-linux-x86_64-0.13.0:$PATH |
|
|
55 |
export PATH=$HOME/.local/bin/zls-x86_64-linux-0.13.0:$PATH |
| 54 |
|
56 |
|
| 55 |
# FZF settings. |
57 |
# FZF settings. |
| 56 |
|
58 |
|
| ... |
|
diff --git a/vimrc b/vimrc
|
| ... |
| 11 |
filetype plugin indent on |
11 |
filetype plugin indent on |
| 12 |
syntax enable |
12 |
syntax enable |
| 13 |
|
13 |
|
|
|
14 |
" Disable auto-formatting for Zig files. |
|
|
15 |
let g:zig_fmt_autosave = 0 |
|
|
16 |
|
| 14 |
nnoremap <C-Right> :bnext<cr> |
17 |
nnoremap <C-Right> :bnext<cr> |
| 15 |
nnoremap <C-Left> :bprevious<cr> |
18 |
nnoremap <C-Left> :bprevious<cr> |
| 16 |
nnoremap <C-b> :buffers<cr>:buffer |
19 |
nnoremap <C-b> :buffers<cr>:buffer |
| ... |
| 37 |
noremap <silent> cc :<C-B>silent <C-E>s/^/<C-R>=escape(b:comment_leader,'\/')<CR>/<CR>:nohlsearch<CR> |
40 |
noremap <silent> cc :<C-B>silent <C-E>s/^/<C-R>=escape(b:comment_leader,'\/')<CR>/<CR>:nohlsearch<CR> |
| 38 |
noremap <silent> cu :<C-B>silent <C-E>s/^\(\s*\)\V<C-R>=escape(b:comment_leader,'\/')<CR>//e<CR>:nohlsearch<CR> |
41 |
noremap <silent> cu :<C-B>silent <C-E>s/^\(\s*\)\V<C-R>=escape(b:comment_leader,'\/')<CR>//e<CR>:nohlsearch<CR> |
| 39 |
|
42 |
|
| 40 |
" FZF fuzzy finder integration. |
43 |
" FZF - fuzzy finder integration. |
| 41 |
function! FZF() |
44 |
function! FZF() |
| 42 |
let t=tempname() |
45 |
let t=tempname() |
| 43 |
silent execute '!fzf --preview=''cat {}'' --multi|awk ''{print $1":1:0"}'' > '.fnameescape(t) |
46 |
silent execute '!fzf --preview=''cat {}'' --multi|awk ''{print $1":1:0"}'' > '.fnameescape(t) |
| ... |