vim config stuff

This commit is contained in:
Daniel Flanagan 2017-01-09 12:02:02 -06:00
parent ba066518b5
commit 7053c2a411
5 changed files with 11 additions and 8 deletions

View file

@ -0,0 +1 @@
:colorscheme base16

7
editor/kakoune/kakrc Normal file
View file

@ -0,0 +1,7 @@
colorscheme base16
hook global BufOpen .* %{editorconfig-load}
hook global InsertChar j %{ try %{
exec -draft hH <a-k>jj<ret> d
exec <esc>
}}
hook global WinCreate .* %{addhl number_lines}

View file

@ -3,8 +3,5 @@
DIR=$(cd "$(dirname "${BASH_SOURCE[0]}" )/../.." && pwd) DIR=$(cd "$(dirname "${BASH_SOURCE[0]}" )/../.." && pwd)
source "$DIR/variables.bash" source "$DIR/variables.bash"
rm -rf "$HOME/.config/kakoune" rm -rf "$HOME/.config/kak"
ln -s "$DOTFILES_PATH/editor/kakoune" "$HOME/.config/kak" ln -s "$DOTFILES_PATH/editor/kakoune" "$HOME/.config/kak"
nvim +PlugInstal +qall

View file

@ -119,9 +119,6 @@ let python_space_errors = 1
" autocmd FileType vue setl tabstop=2 expandtab shiftwidth=2 softtabstop=2 " autocmd FileType vue setl tabstop=2 expandtab shiftwidth=2 softtabstop=2
autocmd FileType php setl tabstop=4 expandtab shiftwidth=4 softtabstop=4 autocmd FileType php setl tabstop=4 expandtab shiftwidth=4 softtabstop=4
" HAMLC
autocmd BufRead,BufNewFile *.hamlc set ft=haml
" Markdown " Markdown
autocmd BufNewFile,BufReadPost *.md setl filetype=markdown spell textwidth=0 wrapmargin=0 autocmd BufNewFile,BufReadPost *.md setl filetype=markdown spell textwidth=0 wrapmargin=0

3
env/sh/bashrc vendored
View file

@ -1,4 +1,5 @@
export DOTFILES_PATH=$HOME/.dotfiles export DOTFILES_PATH="$HOME/.dotfiles"
export XDG_CONFIG_HOME="$HOME/.config"
# load our terminal colors # load our terminal colors
BASE16_SHELL="$DOTFILES_PATH/colors/shell" BASE16_SHELL="$DOTFILES_PATH/colors/shell"