update vim plugins
This commit is contained in:
parent
7df1e7a4d8
commit
1114ddf947
5 changed files with 25 additions and 24 deletions
|
|
@ -1,12 +1,4 @@
|
||||||
set -g VIRTUALFISH_VERSION 2.5.4
|
set -g VIRTUALFISH_VERSION 2.5.5
|
||||||
set -g VIRTUALFISH_PYTHON_EXEC /bin/python
|
set -g VIRTUALFISH_PYTHON_EXEC /usr/bin/python
|
||||||
|
source /usr/local/lib/python3.10/site-packages/virtualfish/virtual.fish
|
||||||
set vfpaths /usr/local/lib/python3.10/site-packages/virtualfish/virtual.fish /usr/lib/python3.10/site-packages/virtualfish/virtual.fish /usr/lib/python3.9/site-packages/virtualfish/virtual.fish
|
emit virtualfish_did_setup_plugins
|
||||||
|
|
||||||
for vfpath in vfpaths
|
|
||||||
if test -f $vfpath
|
|
||||||
source $vfpath
|
|
||||||
emit virtualfish_did_setup_plugins
|
|
||||||
break
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
set PATH ~/bin ~/.local/bin ~/.go/bin ~/.cargo/bin /bin /sbin /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin ~/.cabal/bin /usr/lib/go/bin ~/.gem/ruby/1.9.1/bin $PATH
|
set PATH ~/bin ~/.local/bin ~/.go/bin ~/.cargo/bin /bin /sbin /usr/local/bin /usr/local/sbin /usr/bin /usr/sbin ~/.cabal/bin ~/.ghcup/bin /usr/lib/go/bin ~/.gem/ruby/1.9.1/bin $PATH
|
||||||
|
|
||||||
if command -vq flatpak
|
if command -vq flatpak
|
||||||
set -ga fish_user_paths ~/.local/share/flatpak/exports/bin /var/lib/flatpak/exports/bin
|
set -ga fish_user_paths ~/.local/share/flatpak/exports/bin /var/lib/flatpak/exports/bin
|
||||||
|
|
|
||||||
|
|
@ -52,4 +52,4 @@ alias srsly="orly -s"
|
||||||
#Funnies
|
#Funnies
|
||||||
alias whothefuckis='finger'
|
alias whothefuckis='finger'
|
||||||
alias whoami="echo 24601"
|
alias whoami="echo 24601"
|
||||||
|
alias yeet="rm -rf"
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,7 @@ nvim_lsp.rust_analyzer.setup({
|
||||||
})
|
})
|
||||||
nvim_lsp.gopls.setup({ on_attach = on_attach })
|
nvim_lsp.gopls.setup({ on_attach = on_attach })
|
||||||
nvim_lsp.pyright.setup({ on_attach = on_attach })
|
nvim_lsp.pyright.setup({ on_attach = on_attach })
|
||||||
|
|
||||||
nvim_lsp.clangd.setup({ on_attach = on_attach })
|
nvim_lsp.clangd.setup({ on_attach = on_attach })
|
||||||
nvim_lsp.tsserver.setup {
|
nvim_lsp.tsserver.setup {
|
||||||
cmd = { "/home/barak/.yarn/bin/typescript-language-server", "--stdio" }
|
cmd = { "/home/barak/.yarn/bin/typescript-language-server", "--stdio" }
|
||||||
|
|
@ -42,6 +43,9 @@ nvim_lsp.tsserver.setup {
|
||||||
nvim_lsp.vuels.setup {
|
nvim_lsp.vuels.setup {
|
||||||
cmd = { "/home/barak/.yarn/bin/vls" }
|
cmd = { "/home/barak/.yarn/bin/vls" }
|
||||||
}
|
}
|
||||||
|
nvim_lsp.hls.setup {
|
||||||
|
cmd = { "haskell-language-server-wrapper", "--lsp" }
|
||||||
|
}
|
||||||
|
|
||||||
nvim_lsp.svelte.setup {
|
nvim_lsp.svelte.setup {
|
||||||
cmd = { "/home/barak/.yarn/bin/svelteserver", "--stdio" }
|
cmd = { "/home/barak/.yarn/bin/svelteserver", "--stdio" }
|
||||||
|
|
@ -397,14 +401,17 @@ require 'nvim-treesitter.configs'.setup {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
require "nvim-treesitter.highlight".set_custom_captures {
|
--require "nvim-treesitter.highlight".set_custom_captures {
|
||||||
-- Highlight the @foo.bar capture group with the "Identifier" highlight group.
|
---- Highlight the @foo.bar capture group with the "Identifier" highlight group.
|
||||||
-- ["foo.bar"] = "Identifier",
|
---- ["foo.bar"] = "Identifier",
|
||||||
["generic_type_param"] = "TSCGenericTypeParam",
|
--["generic_type_param"] = "TSCGenericTypeParam",
|
||||||
}
|
--}
|
||||||
|
|
||||||
require "neogen".setup {}
|
require "neogen".setup {}
|
||||||
|
|
||||||
|
require('leap').set_default_keymaps()
|
||||||
|
require("flit").setup {}
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Helper functions for my own grepping commands.
|
-- Helper functions for my own grepping commands.
|
||||||
--
|
--
|
||||||
|
|
|
||||||
12
.vimrc
12
.vimrc
|
|
@ -231,7 +231,9 @@ Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
|
||||||
Plug 'nvim-treesitter/playground'
|
Plug 'nvim-treesitter/playground'
|
||||||
|
|
||||||
"Plug 'ggandor/lightspeed.nvim'
|
"Plug 'ggandor/lightspeed.nvim'
|
||||||
Plug 'justinmk/vim-sneak'
|
"Plug 'justinmk/vim-sneak'
|
||||||
|
Plug 'ggandor/leap.nvim'
|
||||||
|
Plug 'ggandor/flit.nvim'
|
||||||
Plug 'simrat39/rust-tools.nvim'
|
Plug 'simrat39/rust-tools.nvim'
|
||||||
|
|
||||||
Plug 'Shougo/unite.vim'
|
Plug 'Shougo/unite.vim'
|
||||||
|
|
@ -395,10 +397,10 @@ let g:UseGooglePythonSettings = 0
|
||||||
|
|
||||||
" * sneak.vim
|
" * sneak.vim
|
||||||
"let g:sneak#label = 1
|
"let g:sneak#label = 1
|
||||||
map f <Plug>Sneak_f
|
"map f <Plug>Sneak_f
|
||||||
map F <Plug>Sneak_F
|
"map F <Plug>Sneak_F
|
||||||
map t <Plug>Sneak_t
|
"map t <Plug>Sneak_t
|
||||||
map T <Plug>Sneak_T
|
"map T <Plug>Sneak_T
|
||||||
|
|
||||||
" * Jedi
|
" * Jedi
|
||||||
let g:jedi#goto_command = "gd"
|
let g:jedi#goto_command = "gd"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue