Updated config to work with Arch
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Get directory variables from script.
|
||||
. ../dirs.sh
|
||||
# List of dotfiles I want to link to system.
|
||||
dotfiles="bashrc gitconfig inputrc vimrc Xresources zshrc"
|
||||
dotfiles=(bashrc gitconfig inputrc vimrc Xresources zshrc)
|
||||
# cd $dot_dir
|
||||
for dotfile in $dotfiles; do
|
||||
# Remove system dotfile.
|
||||
|
||||
@@ -66,25 +66,25 @@ Plug 'lervag/vimtex'
|
||||
let g:vimtex_view_general_viewer = 'okular'
|
||||
|
||||
" auto-completion for various languages
|
||||
Plug 'Valloric/YouCompleteMe'
|
||||
" Plug 'Valloric/YouCompleteMe'
|
||||
|
||||
" wrote short bits of text that expand into whatever you want
|
||||
" demo: https://www.youtube.com/watch?v=Zik6u0klD40
|
||||
Plug 'SirVer/ultisnips'
|
||||
" Plug 'SirVer/ultisnips'
|
||||
" better key bindings for UltiSnipsExpandTrigger
|
||||
let g:UltiSnipsExpandTrigger = "<tab>"
|
||||
let g:UltiSnipsJumpForwardTrigger = "<tab>"
|
||||
let g:UltiSnipsJumpBackwardTrigger = "<C-tab>"
|
||||
" let g:UltiSnipsExpandTrigger = "<tab>"
|
||||
" let g:UltiSnipsJumpForwardTrigger = "<tab>"
|
||||
" let g:UltiSnipsJumpBackwardTrigger = "<C-tab>"
|
||||
|
||||
" custom snippets
|
||||
Plug 'Kevin-Mok/vim-snippets'
|
||||
" Plug 'Kevin-Mok/vim-snippets'
|
||||
|
||||
" to make YouCompleteMe work with UltiSnips (both use Tab)
|
||||
Plug 'ervandew/supertab'
|
||||
" Plug 'ervandew/supertab'
|
||||
" make YCM compatible with UltiSnips (using supertab)
|
||||
let g:ycm_key_list_select_completion = ['<C-n>', '<Down>']
|
||||
let g:ycm_key_list_previous_completion = ['<C-p>', '<Up>']
|
||||
let g:SuperTabDefaultCompletionType = '<C-n>'
|
||||
" let g:ycm_key_list_select_completion = ['<C-n>', '<Down>']
|
||||
" let g:ycm_key_list_previous_completion = ['<C-p>', '<Up>']
|
||||
" let g:SuperTabDefaultCompletionType = '<C-n>'
|
||||
|
||||
" easily comment/uncomment lines
|
||||
Plug 'scrooloose/nerdcommenter'
|
||||
@@ -100,6 +100,7 @@ Plug 'easymotion/vim-easymotion'
|
||||
" status bar displaying various info about the current buffer
|
||||
Plug 'vim-airline/vim-airline'
|
||||
Plug 'vim-airline/vim-airline-themes'
|
||||
let g:airline_powerline_fonts = 1
|
||||
|
||||
" continue Markdown lists when started
|
||||
Plug 'dkarter/bullets.vim'
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
# If you come from bash you might have to change your $PATH.
|
||||
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
||||
|
||||
# Path to your oh-my-zsh installation.
|
||||
export ZSH=/home/kevin/.oh-my-zsh
|
||||
export EDITOR=/usr/bin/vim
|
||||
export VISUAL=/usr/bin/vim
|
||||
|
||||
# Set name of the theme to load. Optionally, if you set this to "random"
|
||||
# it'll load a random theme each time that oh-my-zsh is loaded.
|
||||
|
||||
Reference in New Issue
Block a user