Update file switch

This commit is contained in:
Alex Yatskov 2022-10-02 14:57:27 -07:00
parent 5ea5c9b9d7
commit c61e332d64
7 changed files with 20 additions and 6 deletions

9
.gitmodules vendored
View File

@ -4,9 +4,6 @@
[submodule ".vim/bundle/vim-sort-motion"] [submodule ".vim/bundle/vim-sort-motion"]
path = pack/plugins/start/vim-sort-motion path = pack/plugins/start/vim-sort-motion
url = https://github.com/christoomey/vim-sort-motion.git url = https://github.com/christoomey/vim-sort-motion.git
[submodule ".vim/bundle/vim-fswitch"]
path = pack/plugins/start/vim-fswitch
url = https://github.com/derekwyatt/vim-fswitch.git
[submodule ".vim/bundle/vim-go"] [submodule ".vim/bundle/vim-go"]
path = pack/plugins/start/vim-go path = pack/plugins/start/vim-go
url = https://github.com/fatih/vim-go.git url = https://github.com/fatih/vim-go.git
@ -91,3 +88,9 @@
[submodule "pack/plugins/start/suda.vim"] [submodule "pack/plugins/start/suda.vim"]
path = pack/plugins/start/suda.vim path = pack/plugins/start/suda.vim
url = https://github.com/lambdalisue/suda.vim.git url = https://github.com/lambdalisue/suda.vim.git
[submodule "pack/plugins/start/plenary.nvim"]
path = pack/plugins/start/plenary.nvim
url = https://github.com/nvim-lua/plenary.nvim.git
[submodule "pack/plugins/opt/hflip.nvim"]
path = pack/plugins/opt/hflip.nvim
url = https://github.com/FooSoft/hflip.nvim.git

View File

@ -1,2 +1,8 @@
" vim-fswitch " vim-fswitch
noremap gfs :FSHere<Cr> noremap gfs :HFlip<Cr>
if has('nvim')
lua << EOF
vim.diagnostic.disable()
EOF
endif

View File

@ -1,5 +1,5 @@
" vim-fswitch " vim-fswitch
noremap gfs :FSHere<Cr> noremap gfs :HFlip<Cr>
if has('nvim') if has('nvim')
lua << EOF lua << EOF

@ -0,0 +1 @@
Subproject commit 354a21ea72460c792604ca340295934b020d8c9f

@ -0,0 +1 @@
Subproject commit 4b7e52044bbb84242158d977a50c4cbcd85070c7

@ -1 +0,0 @@
Subproject commit 94acdd8bc92458d3bf7e6557df8d93b533564491

View File

@ -5,6 +5,7 @@ if has('nvim')
packadd nvim-cmp packadd nvim-cmp
packadd nvim-lspconfig packadd nvim-lspconfig
packadd vim-vsnip packadd vim-vsnip
packadd hflip.nvim
lua << EOF lua << EOF
-- Use an on_attach function to only map the following keys -- Use an on_attach function to only map the following keys
@ -102,6 +103,9 @@ lua << EOF
EOF EOF
endif endif
" hflip.nvim
command! HFlipReload lua require'plenary.reload'.reload_module('hflip', false)
" fzf " fzf
if executable('fzf') if executable('fzf')
packadd fzf.vim packadd fzf.vim