add fzf-lua
This commit is contained in:
parent
15fe57263c
commit
8cf2a07e8c
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -4,3 +4,6 @@
|
|||||||
[submodule "nvim/.config/nvim/pack/bundle/start/vim-snippets"]
|
[submodule "nvim/.config/nvim/pack/bundle/start/vim-snippets"]
|
||||||
path = 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
|
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
|
||||||
|
|||||||
15
install.sh
15
install.sh
@ -12,11 +12,10 @@ rm -f $HOME/.zshrc $HOME/.profile >/dev/null 2>&1
|
|||||||
|
|
||||||
find * -maxdepth 0 -type d | xargs -I{} $STOW -t "$HOME" {}
|
find * -maxdepth 0 -type d | xargs -I{} $STOW -t "$HOME" {}
|
||||||
|
|
||||||
func encrypt() {
|
#func encrypt() {
|
||||||
openssl enc -e -aes256 -base64 -in $1
|
# openssl enc -e -aes256 -base64 -in $1
|
||||||
}
|
#}
|
||||||
|
#
|
||||||
func decrypt() {
|
#func decrypt() {
|
||||||
openssl enc -d -aes256 -base64 -in $1
|
# openssl enc -d -aes256 -base64 -in $1
|
||||||
}
|
#}
|
||||||
|
|
||||||
|
|||||||
@ -48,7 +48,7 @@ set path+=**
|
|||||||
|
|
||||||
" netrw config
|
" netrw config
|
||||||
let g:netrw_banner=0 " disable annoying banner
|
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_altv=1 " open splits to the right
|
||||||
let g:netrw_liststyle=3 " tree view
|
let g:netrw_liststyle=3 " tree view
|
||||||
let g:netrw_list_hide=netrw_gitignore#Hide()
|
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
|
" - <CR>/v/t to open in an h-split/v-split/tab
|
||||||
" - check |netrw-browse-maps| for more mappings
|
" - 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
|
" GO stuff
|
||||||
|
|||||||
1
nvim/.config/nvim/pack/bundle/start/fzf-lua
Submodule
1
nvim/.config/nvim/pack/bundle/start/fzf-lua
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit e1046726cf0cedf15ae0ff40537a421b79968c3e
|
||||||
@ -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 FZF_DEFAULT_OPTS="--multi --height=40% --layout=reverse"
|
||||||
|
|
||||||
export GOPATH=/home/jswank/go
|
export GOPATH=~/go
|
||||||
|
|
||||||
# doesn't work on arch for tmux
|
# doesn't work on arch for tmux
|
||||||
path+=('/home/jswank/bin')
|
path+=(~/bin)
|
||||||
|
path+=(~/.local/bin)
|
||||||
path+=($GOPATH/bin)
|
path+=($GOPATH/bin)
|
||||||
export PATH
|
export PATH
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user