]> git.zndr.dk Git - dotfiles.git/commitdiff
Add vim-snippets
authorJannik ZANDER <jannikz@gmail.com>
Wed, 18 Jul 2018 16:00:38 +0000 (18:00 +0200)
committerJannik ZANDER <jannikz@gmail.com>
Wed, 18 Jul 2018 16:00:38 +0000 (18:00 +0200)
.config/user-dirs.dirs
.gitmodules
.profile
.vim/pack/github/opt/vim-netranger [deleted submodule]
.vim/pack/github/opt/vim-snippets [new submodule]
.vim/vimrc

index e56ad9614d018d9a5971ef0b4f10d592098c14c5..323a8f62f0049fdfaae40b0c497b5639fed84811 100644 (file)
@@ -4,12 +4,12 @@
 # Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
 # homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
 # absolute path. No other format is supported.
-#
+# 
 XDG_DESKTOP_DIR="$HOME/cloud"
 XDG_DOWNLOAD_DIR="$HOME/Download"
-XDG_TEMPLATES_DIR="$HOME/cloud/Templates"
-XDG_PUBLICSHARE_DIR="$HOME/cloud/PublicShare"
-XDG_DOCUMENTS_DIR="$HOME/cloud/Documents"
-XDG_MUSIC_DIR="$HOME/cloud/Music"
-XDG_PICTURES_DIR="$HOME/cloud/Pictures"
-XDG_VIDEOS_DIR="$HOME/cloud/Videos"
+XDG_TEMPLATES_DIR="$HOME/"
+XDG_PUBLICSHARE_DIR="$HOME/"
+XDG_DOCUMENTS_DIR="$HOME/"
+XDG_MUSIC_DIR="$HOME/"
+XDG_PICTURES_DIR="$HOME/"
+XDG_VIDEOS_DIR="$HOME/"
index 17b2b4515cc9c52b2548c240793c3d408f2eb29f..3187df63ef30cd6e6005141780a131f60d7bc1ce 100644 (file)
@@ -46,9 +46,9 @@
 [submodule ".vim/pack/github/opt/mesonic"]
        path = .vim/pack/github/opt/mesonic
        url = https://github.com/igankevich/mesonic.git
-[submodule ".vim/pack/github/opt/vim-netranger"]
-       path = .vim/pack/github/opt/vim-netranger
-       url = https://github.com/ipod825/vim-netranger.git
 [submodule ".vim/pack/github/opt/ranger.vim"]
        path = .vim/pack/github/opt/ranger.vim
        url = https://github.com/francoiscabrol/ranger.vim.git
+[submodule ".vim/pack/github/opt/vim-snippets"]
+       path = .vim/pack/github/opt/vim-snippets
+       url = https://github.com/honza/vim-snippets.git
index 9cb795d6c0e753a17e590d23a7ccde6043dcb528..25b8dd535313d1b72879113997fa2e8d31d3efe7 100644 (file)
--- a/.profile
+++ b/.profile
@@ -8,11 +8,6 @@ fi
 # set PATH to bin directory
 export PATH=~/.local/bin:~/bin:$PATH
 
-# set TMP directory
-export TMP=~/tmp
-export TEMP=$TMP
-export TMPDIR=$TMP
-
 # Set default programs
 export SHELL='bash'
 export EDITOR='vim'
diff --git a/.vim/pack/github/opt/vim-netranger b/.vim/pack/github/opt/vim-netranger
deleted file mode 160000 (submodule)
index c29312f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit c29312ff545ec3349868442d6a0ff9f5183d2832
diff --git a/.vim/pack/github/opt/vim-snippets b/.vim/pack/github/opt/vim-snippets
new file mode 160000 (submodule)
index 0000000..103523d
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 103523dbc5e0482365d5f6f9bc8ccf4101433c43
index 55fc659e1a8647f111e81775317db3873c664093..7351ce8e9ef560be349b15b7a7a6bbff20d8a964 100644 (file)
@@ -142,8 +142,15 @@ let g:netrw_sort_sequence = '[\/]$,*'
 
 " Packages
 
+" Airline
+packadd! vim-airline
+let g:airline#extensions#tabline#enabled = 1
+let g:airline#extensions#tabline#formatter = 'unique_tail_improved'
+
 " ALE
-"packadd! ale
+packadd! ale
+let g:ale_enabled = 1
+let g:airline#extensions#ale#enabled = 1
 
 " Tagbar
 packadd! tagbar
@@ -168,14 +175,9 @@ packadd! vim-unimpaired
 
 " Ranger
 packadd! ranger.vim
+packadd! bclose.vim
 let g:ranger_replace_netrw = 1
 
-" Airline
-packadd! vim-airline
-let g:airline#extensions#tabline#enabled = 1
-let g:airline#extensions#tabline#formatter = 'unique_tail_improved'
-let g:airline_section_error = airline#section#create_right(['%{g:asyncrun_status}'])
-
 " Editorconfig
 "packadd! editorconfig-vim
 "let g:editorconfig_exclude_patterns = ['fugitive://.*', 'scp://.*']
@@ -205,7 +207,8 @@ packadd! matchit
 " Async shell commands
 packadd asyncrun.vim
 let g:asyncrun_open = 8
-let g:asyncrun_status = "stopped" 
+let g:asyncrun_status = "" 
+let g:airline_section_error = airline#section#create_right(['%{g:asyncrun_status}'])
 let g:asyncrun_auto = "make"
 command! -bang -nargs=* -complete=file Make AsyncRun -program=make @ <args>
 command! -bang -nargs=* -complete=file Grep AsyncRun -program=grep @ <args>
@@ -216,6 +219,11 @@ packadd errormarker.vim
 " Meson build system
 packadd mesonic
 
+" UltiSnips
+packadd ultisnips
+packadd vim-snippets
+
+
 " Normal mode Mappings
 nnoremap ;                  :
 nnoremap :                  ;
@@ -276,9 +284,9 @@ if has('autocmd')
   augroup END
 
   augroup quickfix
-    autocmd QuickFixCmdPost [^l]* nested cwindow
-    autocmd QuickFixCmdPost l*    nested lwindow 
-"    autocmd QuickFixCmdPost * call asyncrun#quickfix_toggle(8, 1)
+"    autocmd QuickFixCmdPost [^l]* nested cwindow
+"    autocmd QuickFixCmdPost l*    nested lwindow 
+    autocmd QuickFixCmdPost * call asyncrun#quickfix_toggle(8, 1)
   augroup END
 endif
 
@@ -286,3 +294,12 @@ endif
 if filereadable(expand('~/.vim/vimrc.local'))
   source ~/.vim/vimrc.local
 endif
+
+
+" Load all plugins now.
+" Plugins need to be added to runtimepath before helptags can be generated.
+packloadall
+" Load all of the helptags now, after plugins have been loaded.
+" All messages and errors will be ignored.
+silent! helptags ALL
+