vim config stuff
This commit is contained in:
parent
ba066518b5
commit
7053c2a411
5 changed files with 11 additions and 8 deletions
1
editor/kakoune/autoload/colorscheme.kak
Normal file
1
editor/kakoune/autoload/colorscheme.kak
Normal file
|
@ -0,0 +1 @@
|
|||
:colorscheme base16
|
7
editor/kakoune/kakrc
Normal file
7
editor/kakoune/kakrc
Normal 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}
|
|
@ -3,8 +3,5 @@
|
|||
DIR=$(cd "$(dirname "${BASH_SOURCE[0]}" )/../.." && pwd)
|
||||
source "$DIR/variables.bash"
|
||||
|
||||
rm -rf "$HOME/.config/kakoune"
|
||||
rm -rf "$HOME/.config/kak"
|
||||
ln -s "$DOTFILES_PATH/editor/kakoune" "$HOME/.config/kak"
|
||||
|
||||
nvim +PlugInstal +qall
|
||||
|
||||
|
|
|
@ -119,9 +119,6 @@ let python_space_errors = 1
|
|||
" autocmd FileType vue setl tabstop=2 expandtab shiftwidth=2 softtabstop=2
|
||||
autocmd FileType php setl tabstop=4 expandtab shiftwidth=4 softtabstop=4
|
||||
|
||||
" HAMLC
|
||||
autocmd BufRead,BufNewFile *.hamlc set ft=haml
|
||||
|
||||
" Markdown
|
||||
autocmd BufNewFile,BufReadPost *.md setl filetype=markdown spell textwidth=0 wrapmargin=0
|
||||
|
||||
|
|
3
env/sh/bashrc
vendored
3
env/sh/bashrc
vendored
|
@ -1,4 +1,5 @@
|
|||
export DOTFILES_PATH=$HOME/.dotfiles
|
||||
export DOTFILES_PATH="$HOME/.dotfiles"
|
||||
export XDG_CONFIG_HOME="$HOME/.config"
|
||||
|
||||
# load our terminal colors
|
||||
BASE16_SHELL="$DOTFILES_PATH/colors/shell"
|
||||
|
|
Reference in a new issue