nvim plugins description
This commit is contained in:
parent
a7d2f297b5
commit
01b7c37139
@ -152,7 +152,7 @@ docker_ips() {
|
|||||||
|
|
||||||
|
|
||||||
py() {
|
py() {
|
||||||
if [ -z "$@" -a -x "$(command -v ipython)" ]; then
|
if [[ -z "$@" && -x "$(command -v ipython 2>/dev/null)" ]]; then
|
||||||
ipython -i -c "q = exit"
|
ipython -i -c "q = exit"
|
||||||
else
|
else
|
||||||
python3 $@
|
python3 $@
|
||||||
|
|||||||
@ -12,19 +12,19 @@ return require('packer').startup(function(use)
|
|||||||
requires = { 'kana/vim-textobj-user' }
|
requires = { 'kana/vim-textobj-user' }
|
||||||
}
|
}
|
||||||
|
|
||||||
use 'ellisonleao/gruvbox.nvim'
|
use 'ellisonleao/gruvbox.nvim' -- theme
|
||||||
use 'tpope/vim-surround'
|
use 'tpope/vim-surround'
|
||||||
use 'tpope/vim-repeat'
|
use 'tpope/vim-repeat'
|
||||||
use 'google/vim-searchindex'
|
use 'google/vim-searchindex'
|
||||||
use 'tpope/vim-commentary'
|
use 'tpope/vim-commentary' -- gcc to comment line
|
||||||
use 'ap/vim-css-color'
|
use 'ap/vim-css-color' -- highlight hex
|
||||||
use 'preservim/tagbar'
|
use 'preservim/tagbar'
|
||||||
use 'preservim/vimux'
|
use 'preservim/vimux'
|
||||||
use 'rbgrouleff/bclose.vim'
|
use 'rbgrouleff/bclose.vim'
|
||||||
use 'frazrepo/vim-rainbow'
|
use 'frazrepo/vim-rainbow' -- rainbow brackets
|
||||||
use 'Pocco81/auto-save.nvim'
|
use 'Pocco81/auto-save.nvim' -- autosave files
|
||||||
use 'windwp/nvim-autopairs'
|
use 'windwp/nvim-autopairs' -- auto pair brackets and tags
|
||||||
use 'lewis6991/gitsigns.nvim'
|
use 'lewis6991/gitsigns.nvim' -- git integration
|
||||||
use 'windwp/nvim-ts-autotag'
|
use 'windwp/nvim-ts-autotag'
|
||||||
use 'lervag/vimtex'
|
use 'lervag/vimtex'
|
||||||
use {
|
use {
|
||||||
@ -44,6 +44,8 @@ return require('packer').startup(function(use)
|
|||||||
use 'neovim/nvim-lspconfig'
|
use 'neovim/nvim-lspconfig'
|
||||||
use 'hrsh7th/nvim-cmp'
|
use 'hrsh7th/nvim-cmp'
|
||||||
use 'hrsh7th/cmp-nvim-lsp'
|
use 'hrsh7th/cmp-nvim-lsp'
|
||||||
|
|
||||||
|
-- snippets
|
||||||
use 'saadparwaiz1/cmp_luasnip'
|
use 'saadparwaiz1/cmp_luasnip'
|
||||||
use {
|
use {
|
||||||
'L3MON4D3/LuaSnip',
|
'L3MON4D3/LuaSnip',
|
||||||
@ -51,6 +53,7 @@ return require('packer').startup(function(use)
|
|||||||
}
|
}
|
||||||
use 'honza/vim-snippets'
|
use 'honza/vim-snippets'
|
||||||
|
|
||||||
|
-- lsp servers installer
|
||||||
use {
|
use {
|
||||||
'williamboman/mason.nvim',
|
'williamboman/mason.nvim',
|
||||||
requires = {
|
requires = {
|
||||||
|
|||||||
@ -4,6 +4,7 @@ fpath=(~/.zfunc $fpath)
|
|||||||
autoload -Uz compinit
|
autoload -Uz compinit
|
||||||
compinit -d ~/.cache/zcompdump
|
compinit -d ~/.cache/zcompdump
|
||||||
compdef _nvim nvim
|
compdef _nvim nvim
|
||||||
|
compdef _mcd mcd
|
||||||
zstyle ':completion:*:*:*:*:*' menu select
|
zstyle ':completion:*:*:*:*:*' menu select
|
||||||
zstyle ':completion:*' auto-description 'specify: %d'
|
zstyle ':completion:*' auto-description 'specify: %d'
|
||||||
zstyle ':completion:*' completer _expand _complete _correct _approximate
|
zstyle ':completion:*' completer _expand _complete _correct _approximate
|
||||||
|
|||||||
9
sub/zsh/zfunc/_mcd
Normal file
9
sub/zsh/zfunc/_mcd
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#compdef mcd
|
||||||
|
#autoload
|
||||||
|
|
||||||
|
|
||||||
|
_mcd() {
|
||||||
|
_files
|
||||||
|
}
|
||||||
|
|
||||||
|
_mcd
|
||||||
Loading…
x
Reference in New Issue
Block a user