summaryrefslogtreecommitdiffstats
path: root/.config/nvim/after/ftplugin
diff options
context:
space:
mode:
authorYigit Sever2019-08-28 15:58:55 +0300
committerYigit Sever2019-08-28 15:58:55 +0300
commit6206dc7ecdaa21981d5aaaf0e58da776edddfdfb (patch)
tree968cf4dfd295205bbf1868fb5f4a30c238fd89e8 /.config/nvim/after/ftplugin
parent884ae34fe14f67c8aa9cf3f8b94f8c039d2e2e7a (diff)
parentd48c855093d10c5e5cc5fcaccd24c3fe88fcc2b9 (diff)
downloaddotfiles-6206dc7ecdaa21981d5aaaf0e58da776edddfdfb.tar.gz
dotfiles-6206dc7ecdaa21981d5aaaf0e58da776edddfdfb.tar.bz2
dotfiles-6206dc7ecdaa21981d5aaaf0e58da776edddfdfb.zip
Merge branch 'master' of 207.154.210.186:/home/yigit/dots
Diffstat (limited to '.config/nvim/after/ftplugin')
-rw-r--r--.config/nvim/after/ftplugin/c.vim3
-rw-r--r--.config/nvim/after/ftplugin/tex.vim9
2 files changed, 12 insertions, 0 deletions
diff --git a/.config/nvim/after/ftplugin/c.vim b/.config/nvim/after/ftplugin/c.vim
new file mode 100644
index 0000000..73fdd4b
--- /dev/null
+++ b/.config/nvim/after/ftplugin/c.vim
@@ -0,0 +1,3 @@
1setlocal shiftwidth=8
2setlocal tabstop=8
3setlocal expandtab
diff --git a/.config/nvim/after/ftplugin/tex.vim b/.config/nvim/after/ftplugin/tex.vim
new file mode 100644
index 0000000..280c44b
--- /dev/null
+++ b/.config/nvim/after/ftplugin/tex.vim
@@ -0,0 +1,9 @@
1call sandwich#util#addlocal([{
2 \ 'buns': ['\textbf{', '}'],
3 \ 'input': ['B'],
4\ }])
5
6call sandwich#util#addlocal([{
7 \ 'buns': ['\emph{', '}'],
8 \ 'input': ['E'],
9\ }])