XDG user directories, work on vim setup

This commit is contained in:
Daniel Flanagan 2017-06-05 22:15:32 -05:00
parent 53378083fa
commit 6882f88566
4 changed files with 34 additions and 5 deletions

View file

@ -119,11 +119,26 @@ let g:indent_guides_auto_color = 1
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } " autocomplete
let g:deoplete#enable_at_startup = 1
Plug 'SirVer/ultisnips'
Plug 'honza/vim-snippets'
let g:UltiSnipsExpandTrigger="<tab>"
let g:UltiSnipsJumpForwardTrigger="<c-f>"
let g:UltiSnipsJumpBackwardTrigger="<c-p>"
let g:UltiSnipsEditSplit="vertical"
Plug 'vimwiki/vimwiki'
let wiki1 = {}
let wiki1.path = "~/../doc/wiki/"
let wiki1.syntax = "markdown"
let wiki1.ext = ".md"
let g:vimwiki_list = [wiki1]
Plug 'scrooloose/syntastic' " syntax checker
Plug 'bkad/CamelCaseMotion' " camel case and underscore word movements
Plug 'vim-scripts/LargeFile' " gracefully handle very large files
Plug 'tpope/vim-commentary' " toggle comments in code easily
Plug 'tpope/vim-repeat' " toggle comments in code easily
Plug 'vim-scripts/SyntaxRange' " defined different syntax ranges in a file for highlighting
Plug 'tmux-plugins/vim-tmux-focus-events' " allow transitions within tmux
Plug 'christoomey/vim-tmux-navigator' " allow transitions within tmux
Plug 'godlygeek/tabular' " align text lines together
@ -164,7 +179,10 @@ Plug 'mattn/emmet-vim', {'for': ['html']}
Plug 'wavded/vim-stylus', {'for': ['styl', 'stylus', 'vue']}
Plug 'rust-lang/rust.vim', {'for': ['rs', 'rust']}
Plug 'mustache/vim-mustache-handlebars', {'for': ['html.handlebars', 'handlebars', 'hbs']}
Plug 'plasticboy/vim-markdown', {'for': ['md', 'markdown']}
Plug 'plasticboy/vim-markdown', {'for': ['md', 'markdown', 'vimwiki']}
Plug 'vim-scripts/utl.vim'
let g:utl_cfg_hdl_scm_http_system = "silent !$BROWSER '%u#%f' &"
" Plug 'euclio/vim-markdown-composer', { 'do': function('BuildComposer'), 'for': ['md', 'markdown'] }
Plug 'digitaltoad/vim-jade', {'for': ['pug', 'jade', 'vue']}
Plug 'leafo/moonscript-vim', {'for': ['moon', 'moonscript']}

View file

@ -78,12 +78,12 @@ Here are some bullet points on my workflow as a Web Developer:
* Unify all the common variables... somehow?
* Dunst and notifications
* Vimux
* urxvt reizing
* urxvt fontawesome
* Vimux?
* terminal on-the-fly font resizing?
* terminal fontawesome/icons?
* Alacritty as terminal?
* Cloud IRC
* XDG Directories (see [here][xdg-user-dirs])
* Some kind of notes wiki? (vimwiki with perfect markdown support?)
[xdg-user-dirs]: https://wiki.archlinux.org/index.php/XDG_user_directories

3
setup
View file

@ -82,6 +82,9 @@ links=(
# fontconfig
"$dfp/de/fontconfig/" "$XDG_CONFIG_HOME/fontconfig"
# XDG user directories
"$dfp/shell/user-dirs" "$XDG_CONFIG_HOME/user-dirs.dirs"
)
source=""

8
shell/user-dirs Normal file
View file

@ -0,0 +1,8 @@
XDG_DESKTOP_DIR="$HOME/Destop"
XDG_DOCUMENTS_DIR="$HOME/../doc"
XDG_DOWNLOAD_DIR="$HOME/../dl"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/../img"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_VIDEOS_DIR="$HOME/Videos"