aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2021-05-05 14:15:03 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2021-05-05 14:15:03 +0700
commite36712f2b02e77080e255c7775852577b51010ad (patch)
treebf2e12c54a9acedec8b5419b2fbe5f0d715d52fa
parent1008040f059bc8d45d6f0b2dd6a1c51cd829d0e7 (diff)
downloaddotfiles-e36712f2b02e77080e255c7775852577b51010ad.tar.gz
Use plug to manage jedi-vim
-rw-r--r--debian/.bashrc2
-rw-r--r--dev/.ssh/config2
l---------vim/.vim/after/ftplugin/python/jedi.vim1
l---------vim/.vim/after/syntax/python.vim1
l---------vim/.vim/autoload/health/jedi.vim1
l---------vim/.vim/autoload/jedi.vim1
l---------vim/.vim/doc/jedi-vim.txt1
-rw-r--r--vim/.vim/doc/tags38
l---------vim/.vim/ftplugin/python/jedi.vim1
l---------vim/.vim/plugin/jedi.vim1
l---------vim/.vim/pythonx/jedi_vim.py1
l---------vim/.vim/pythonx/jedi_vim_debug.py1
-rwxr-xr-xvim/.vim/vimrc2
13 files changed, 3 insertions, 50 deletions
diff --git a/debian/.bashrc b/debian/.bashrc
index f8f277b..c2487e1 100644
--- a/debian/.bashrc
+++ b/debian/.bashrc
@@ -127,5 +127,5 @@ stty -ixon
set -o emacs
export EDITOR=vim
-export PAGER=less
+export PAGER='less -r'
export IRCSERVER=irc.freenode.net
diff --git a/dev/.ssh/config b/dev/.ssh/config
index 82c7a4a..fa85006 100644
--- a/dev/.ssh/config
+++ b/dev/.ssh/config
@@ -12,4 +12,4 @@ Host ict9
User phongng
Port 22222
RequestTTY yes
- RemoteCommand ssh ict9
+ RemoteCommand ssh ict9 -L 5901:localhost:5901
diff --git a/vim/.vim/after/ftplugin/python/jedi.vim b/vim/.vim/after/ftplugin/python/jedi.vim
deleted file mode 120000
index 5391ae0..0000000
--- a/vim/.vim/after/ftplugin/python/jedi.vim
+++ /dev/null
@@ -1 +0,0 @@
-/usr/share/vim/addons/after/ftplugin/python/jedi.vim \ No newline at end of file
diff --git a/vim/.vim/after/syntax/python.vim b/vim/.vim/after/syntax/python.vim
deleted file mode 120000
index e50aef7..0000000
--- a/vim/.vim/after/syntax/python.vim
+++ /dev/null
@@ -1 +0,0 @@
-/usr/share/vim/addons/after/syntax/python.vim \ No newline at end of file
diff --git a/vim/.vim/autoload/health/jedi.vim b/vim/.vim/autoload/health/jedi.vim
deleted file mode 120000
index 608b5b3..0000000
--- a/vim/.vim/autoload/health/jedi.vim
+++ /dev/null
@@ -1 +0,0 @@
-/usr/share/vim/addons/autoload/health/jedi.vim \ No newline at end of file
diff --git a/vim/.vim/autoload/jedi.vim b/vim/.vim/autoload/jedi.vim
deleted file mode 120000
index f44a0f2..0000000
--- a/vim/.vim/autoload/jedi.vim
+++ /dev/null
@@ -1 +0,0 @@
-/usr/share/vim/addons/autoload/jedi.vim \ No newline at end of file
diff --git a/vim/.vim/doc/jedi-vim.txt b/vim/.vim/doc/jedi-vim.txt
deleted file mode 120000
index 0a0dea5..0000000
--- a/vim/.vim/doc/jedi-vim.txt
+++ /dev/null
@@ -1 +0,0 @@
-/usr/share/vim/addons/doc/jedi-vim.txt \ No newline at end of file
diff --git a/vim/.vim/doc/tags b/vim/.vim/doc/tags
deleted file mode 100644
index 12b6627..0000000
--- a/vim/.vim/doc/tags
+++ /dev/null
@@ -1,38 +0,0 @@
-:Pyimport jedi-vim.txt /*:Pyimport*
-g:jedi#auto_close_doc jedi-vim.txt /*g:jedi#auto_close_doc*
-g:jedi#auto_initialization jedi-vim.txt /*g:jedi#auto_initialization*
-g:jedi#auto_vim_configuration jedi-vim.txt /*g:jedi#auto_vim_configuration*
-g:jedi#completions_command jedi-vim.txt /*g:jedi#completions_command*
-g:jedi#completions_enabled jedi-vim.txt /*g:jedi#completions_enabled*
-g:jedi#documentation_command jedi-vim.txt /*g:jedi#documentation_command*
-g:jedi#force_py_version jedi-vim.txt /*g:jedi#force_py_version*
-g:jedi#goto_assignments_command jedi-vim.txt /*g:jedi#goto_assignments_command*
-g:jedi#goto_command jedi-vim.txt /*g:jedi#goto_command*
-g:jedi#goto_stubs_command jedi-vim.txt /*g:jedi#goto_stubs_command*
-g:jedi#popup_on_dot jedi-vim.txt /*g:jedi#popup_on_dot*
-g:jedi#popup_select_first jedi-vim.txt /*g:jedi#popup_select_first*
-g:jedi#rename_command jedi-vim.txt /*g:jedi#rename_command*
-g:jedi#show_call_signatures jedi-vim.txt /*g:jedi#show_call_signatures*
-g:jedi#show_call_signatures_delay jedi-vim.txt /*g:jedi#show_call_signatures_delay*
-g:jedi#smart_auto_mappings jedi-vim.txt /*g:jedi#smart_auto_mappings*
-g:jedi#squelch_py_warning jedi-vim.txt /*g:jedi#squelch_py_warning*
-g:jedi#usages_command jedi-vim.txt /*g:jedi#usages_command*
-g:jedi#use_splits_not_buffers jedi-vim.txt /*g:jedi#use_splits_not_buffers*
-g:jedi#use_tabs_not_buffers jedi-vim.txt /*g:jedi#use_tabs_not_buffers*
-g:jedi#use_tag_stack jedi-vim.txt /*g:jedi#use_tag_stack*
-jedi-vim-configuration jedi-vim.txt /*jedi-vim-configuration*
-jedi-vim-contents jedi-vim.txt /*jedi-vim-contents*
-jedi-vim-contributing jedi-vim.txt /*jedi-vim-contributing*
-jedi-vim-installation jedi-vim.txt /*jedi-vim-installation*
-jedi-vim-installation-manually jedi-vim.txt /*jedi-vim-installation-manually*
-jedi-vim-installation-pathogen jedi-vim.txt /*jedi-vim-installation-pathogen*
-jedi-vim-installation-repos jedi-vim.txt /*jedi-vim-installation-repos*
-jedi-vim-installation-requirements jedi-vim.txt /*jedi-vim-installation-requirements*
-jedi-vim-installation-vundle jedi-vim.txt /*jedi-vim-installation-vundle*
-jedi-vim-introduction jedi-vim.txt /*jedi-vim-introduction*
-jedi-vim-keybindings jedi-vim.txt /*jedi-vim-keybindings*
-jedi-vim-license jedi-vim.txt /*jedi-vim-license*
-jedi-vim-support jedi-vim.txt /*jedi-vim-support*
-jedi-vim-testing jedi-vim.txt /*jedi-vim-testing*
-jedi-vim-usage jedi-vim.txt /*jedi-vim-usage*
-jedi-vim.txt jedi-vim.txt /*jedi-vim.txt*
diff --git a/vim/.vim/ftplugin/python/jedi.vim b/vim/.vim/ftplugin/python/jedi.vim
deleted file mode 120000
index 01fe8b0..0000000
--- a/vim/.vim/ftplugin/python/jedi.vim
+++ /dev/null
@@ -1 +0,0 @@
-/usr/share/vim/addons/ftplugin/python/jedi.vim \ No newline at end of file
diff --git a/vim/.vim/plugin/jedi.vim b/vim/.vim/plugin/jedi.vim
deleted file mode 120000
index 43551f9..0000000
--- a/vim/.vim/plugin/jedi.vim
+++ /dev/null
@@ -1 +0,0 @@
-/usr/share/vim/addons/plugin/jedi.vim \ No newline at end of file
diff --git a/vim/.vim/pythonx/jedi_vim.py b/vim/.vim/pythonx/jedi_vim.py
deleted file mode 120000
index 5d7fd99..0000000
--- a/vim/.vim/pythonx/jedi_vim.py
+++ /dev/null
@@ -1 +0,0 @@
-/usr/share/vim/addons/pythonx/jedi_vim.py \ No newline at end of file
diff --git a/vim/.vim/pythonx/jedi_vim_debug.py b/vim/.vim/pythonx/jedi_vim_debug.py
deleted file mode 120000
index 187dfe7..0000000
--- a/vim/.vim/pythonx/jedi_vim_debug.py
+++ /dev/null
@@ -1 +0,0 @@
-/usr/share/vim/addons/pythonx/jedi_vim_debug.py \ No newline at end of file
diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc
index f473ef3..6d42ed5 100755
--- a/vim/.vim/vimrc
+++ b/vim/.vim/vimrc
@@ -44,12 +44,12 @@ let g:jedi#show_call_signatures = 2
let g:jedi#smart_auto_mappings = 0
let g:polyglot_disabled = ['latex']
-packadd! python-jedi
call plug#begin('~/.vim/plugged')
Plug 'https://github.com/vim/killersheep'
Plug 'https://github.com/sheerun/vim-polyglot'
Plug 'https://github.com/francoiscabrol/ranger.vim'
Plug 'https://github.com/srcery-colors/srcery-vim'
+Plug 'https://github.com/davidhalter/jedi-vim', {'for': 'python'}
Plug 'https://github.com/lervag/vimtex', {'for': 'tex'}
Plug 'https://github.com/kovisoft/slimv', {'for': 'lisp'}
Plug 'https://github.com/tpope/vim-fireplace', {'for': 'clojure'}