about summary refs log tree commit diff
path: root/vim/.vim/ftplugin
diff options
context:
space:
mode:
authorRaphael McSinyx <vn.mcsinyx@gmail.com>2017-08-20 14:11:21 +0700
committerRaphael McSinyx <vn.mcsinyx@gmail.com>2017-08-20 14:11:21 +0700
commit215695710f8b04e70ed5dbd0426c1e15b0b225d7 (patch)
treeef63b21c794b1841d8ab274329a533f598b0284a /vim/.vim/ftplugin
parentf6dc0b5223371e393addfe30a30dbd0d01ca4ec2 (diff)
downloaddotfiles-215695710f8b04e70ed5dbd0426c1e15b0b225d7.tar.gz
Update 2017-08-20 <3
Diffstat (limited to 'vim/.vim/ftplugin')
-rw-r--r--vim/.vim/ftplugin/cpp.vim3
-rw-r--r--vim/.vim/ftplugin/markdown.vim4
-rwxr-xr-xvim/.vim/ftplugin/python/python.vim6
3 files changed, 13 insertions, 0 deletions
diff --git a/vim/.vim/ftplugin/cpp.vim b/vim/.vim/ftplugin/cpp.vim
new file mode 100644
index 0000000..2f6ffc8
--- /dev/null
+++ b/vim/.vim/ftplugin/cpp.vim
@@ -0,0 +1,3 @@
+" GNU Coding Standards
+setlocal cindent
+setlocal cinoptions=>4,n-2,{2,^-2,:2,=2,g0,h2,p5,t0,+2,(0,u0,w1,m1
diff --git a/vim/.vim/ftplugin/markdown.vim b/vim/.vim/ftplugin/markdown.vim
new file mode 100644
index 0000000..6cbbf03
--- /dev/null
+++ b/vim/.vim/ftplugin/markdown.vim
@@ -0,0 +1,4 @@
+setlocal shiftwidth=4
+inoremap <M-,> ≤
+inoremap <M-.> ≥
+inoremap ... …
diff --git a/vim/.vim/ftplugin/python/python.vim b/vim/.vim/ftplugin/python/python.vim
new file mode 100755
index 0000000..dc4ed52
--- /dev/null
+++ b/vim/.vim/ftplugin/python/python.vim
@@ -0,0 +1,6 @@
+let g:jedi#popup_on_dot = 0
+let g:jedi#popup_select_first = 0
+let g:jedi#show_call_signatures = 2
+let g:jedi#smart_auto_mappings = 0
+setlocal shiftwidth=4
+syntax keyword pythonBoolean False True None