about summary refs log tree commit diff
path: root/vim
diff options
context:
space:
mode:
authorRaphael McSinyx <vn.mcsinyx@gmail.com>2017-07-03 20:44:13 +0700
committerRaphael McSinyx <vn.mcsinyx@gmail.com>2017-07-03 20:44:13 +0700
commit26d09ee38d32ee0dba1e2a393d6b334651e214ad (patch)
treeb0bade607f36f9e3d7634308bfc2dcd2e0ef0159 /vim
parent1b1f8f5b5ed00684e59168dd4bc2fb0348d0eac6 (diff)
downloaddotfiles-26d09ee38d32ee0dba1e2a393d6b334651e214ad.tar.gz
Update 2017-07-03: Vim
Diffstat (limited to 'vim')
-rw-r--r--vim/.vim/__pycache__/jedi_vim.cpython-35.pycbin0 -> 21292 bytes
l---------vim/.vim/after/ftplugin/python/jedi.vim1
l---------vim/.vim/after/syntax/python.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
-rwxr-xr-xvim/.vim/gvimrc5
l---------vim/.vim/initialize.py1
l---------vim/.vim/jedi_vim.py1
l---------vim/.vim/plugin/jedi.vim1
-rwxr-xr-xvim/.vim/vimrc16
12 files changed, 57 insertions, 10 deletions
diff --git a/vim/.vim/__pycache__/jedi_vim.cpython-35.pyc b/vim/.vim/__pycache__/jedi_vim.cpython-35.pyc
new file mode 100644
index 0000000..6db1bc9
--- /dev/null
+++ b/vim/.vim/__pycache__/jedi_vim.cpython-35.pyc
Binary files differdiff --git a/vim/.vim/after/ftplugin/python/jedi.vim b/vim/.vim/after/ftplugin/python/jedi.vim
new file mode 120000
index 0000000..5391ae0
--- /dev/null
+++ b/vim/.vim/after/ftplugin/python/jedi.vim
@@ -0,0 +1 @@
+/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
new file mode 120000
index 0000000..e50aef7
--- /dev/null
+++ b/vim/.vim/after/syntax/python.vim
@@ -0,0 +1 @@
+/usr/share/vim/addons/after/syntax/python.vim
\ No newline at end of file
diff --git a/vim/.vim/autoload/jedi.vim b/vim/.vim/autoload/jedi.vim
new file mode 120000
index 0000000..f44a0f2
--- /dev/null
+++ b/vim/.vim/autoload/jedi.vim
@@ -0,0 +1 @@
+/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
new file mode 120000
index 0000000..0a0dea5
--- /dev/null
+++ b/vim/.vim/doc/jedi-vim.txt
@@ -0,0 +1 @@
+/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
new file mode 100644
index 0000000..9538e5b
--- /dev/null
+++ b/vim/.vim/doc/tags
@@ -0,0 +1,38 @@
+: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_definitions_command	jedi-vim.txt	/*g:jedi#goto_definitions_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
new file mode 120000
index 0000000..01fe8b0
--- /dev/null
+++ b/vim/.vim/ftplugin/python/jedi.vim
@@ -0,0 +1 @@
+/usr/share/vim/addons/ftplugin/python/jedi.vim
\ No newline at end of file
diff --git a/vim/.vim/gvimrc b/vim/.vim/gvimrc
index 4990d1f..9b77682 100755
--- a/vim/.vim/gvimrc
+++ b/vim/.vim/gvimrc
@@ -1,6 +1,11 @@
+runtime ftplugin/man.vim
+nmap K :Man <cword><CR>
 set number relativenumber lazyredraw
 set guifont=Space\ Mono\ 10
 set guioptions=Pc
 set guicursor+=a:blinkon0
+if has("patch-7.4.710")
+  set listchars+=space:·,tab:\ \ 
+endif
 set background=light
 colorscheme gruvbox
diff --git a/vim/.vim/initialize.py b/vim/.vim/initialize.py
new file mode 120000
index 0000000..15d8b35
--- /dev/null
+++ b/vim/.vim/initialize.py
@@ -0,0 +1 @@
+/usr/share/vim/addons/initialize.py
\ No newline at end of file
diff --git a/vim/.vim/jedi_vim.py b/vim/.vim/jedi_vim.py
new file mode 120000
index 0000000..c374365
--- /dev/null
+++ b/vim/.vim/jedi_vim.py
@@ -0,0 +1 @@
+/usr/share/vim/addons/jedi_vim.py
\ No newline at end of file
diff --git a/vim/.vim/plugin/jedi.vim b/vim/.vim/plugin/jedi.vim
new file mode 120000
index 0000000..43551f9
--- /dev/null
+++ b/vim/.vim/plugin/jedi.vim
@@ -0,0 +1 @@
+/usr/share/vim/addons/plugin/jedi.vim
\ No newline at end of file
diff --git a/vim/.vim/vimrc b/vim/.vim/vimrc
index cb912e7..f9d1e10 100755
--- a/vim/.vim/vimrc
+++ b/vim/.vim/vimrc
@@ -11,20 +11,16 @@ set showcmd
 set nostartofline
 set ruler
 set confirm
-set list
-if has("patch-7.4.710") && has("gui_running")
-  set listchars+=space:·,tab:\ \ 
-else
-  set listchars+=tab:├─
-endif
-set tabstop=8 expandtab shiftwidth=2 softtabstop=2 smarttab
+set list listchars+=tab:├─
+set tabstop=8 expandtab shiftwidth=2 softtabstop=-1 smarttab
 set omnifunc=syntaxcomplete#Complete
 set dictionary=/usr/share/dict/words
 set keymap=vietnamese-telex imdisable iminsert=0 imsearch=-1
 autocmd BufNewFile,BufRead *.PAS setlocal filetype=pascal
-autocmd FileType c,h,cpp,arduino setlocal noexpandtab shiftwidth=8 tabstop=8
-autocmd FileType rst setlocal shiftwidth=3 tabstop=3
-autocmd FileType css,javascript,markdown,python setlocal shiftwidth=4 tabstop=4
+autocmd FileType c,h,cpp,arduino setlocal noexpandtab shiftwidth=8
+autocmd FileType rst setlocal shiftwidth=3
+autocmd FileType css,javascript,markdown,python setlocal shiftwidth=4
 autocmd FileType python syntax keyword pythonBoolean False True None
 autocmd BufWinEnter * let w:m1=matchadd('ColorColumn', '\%<81v.\%>80v', -1)
+let g:jedi#popup_select_first = 0
 map Q gq