add fzf-lua

This commit is contained in:
Jason Swank 2023-11-10 15:49:08 +00:00
parent 15fe57263c
commit 8cf2a07e8c
5 changed files with 19 additions and 11 deletions

3
.gitmodules vendored
View File

@ -4,3 +4,6 @@
[submodule "nvim/.config/nvim/pack/bundle/start/vim-snippets"]
path = nvim/.config/nvim/pack/bundle/start/vim-snippets
url = https://github.com/honza/vim-snippets.git
[submodule "nvim/.config/nvim/pack/bundle/start/fzf-lua"]
path = nvim/.config/nvim/pack/bundle/start/fzf-lua
url = https://github.com/ibhagwan/fzf-lua.git

View File

@ -12,11 +12,10 @@ rm -f $HOME/.zshrc $HOME/.profile >/dev/null 2>&1
find * -maxdepth 0 -type d | xargs -I{} $STOW -t "$HOME" {}
func encrypt() {
openssl enc -e -aes256 -base64 -in $1
}
func decrypt() {
openssl enc -d -aes256 -base64 -in $1
}
#func encrypt() {
# openssl enc -e -aes256 -base64 -in $1
#}
#
#func decrypt() {
# openssl enc -d -aes256 -base64 -in $1
#}

View File

@ -48,7 +48,7 @@ set path+=**
" netrw config
let g:netrw_banner=0 " disable annoying banner
let g:netrw_browse_split=4 " open in prior window
let g:netrw_browse_split=0 " open in prior window
let g:netrw_altv=1 " open splits to the right
let g:netrw_liststyle=3 " tree view
let g:netrw_list_hide=netrw_gitignore#Hide()
@ -59,6 +59,10 @@ let g:netrw_list_hide.=',\(^\|\s\s\)\zs\.\S\+'
" - <CR>/v/t to open in an h-split/v-split/tab
" - check |netrw-browse-maps| for more mappings
" fzf-lua
nnoremap <c-p> <cmd>lua require('fzf-lua').files()<CR>
nnoremap <c-\> <cmd>lua require('fzf-lua').buffers()<CR>
nnoremap <c-g> <cmd>lua require('fzf-lua').grep()<CR>
"
" GO stuff

@ -0,0 +1 @@
Subproject commit e1046726cf0cedf15ae0ff40537a421b79968c3e

View File

@ -11,10 +11,11 @@ export LESS=RX # R for ANSI color sequences, X to not clear screen on exit
export FZF_DEFAULT_OPTS="--multi --height=40% --layout=reverse"
export GOPATH=/home/jswank/go
export GOPATH=~/go
# doesn't work on arch for tmux
path+=('/home/jswank/bin')
path+=(~/bin)
path+=(~/.local/bin)
path+=($GOPATH/bin)
export PATH