Getting into some Neovim
This commit is contained in:
parent
5700660ed3
commit
13dd71e33a
2 changed files with 6 additions and 13 deletions
11
init.vim
11
init.vim
|
@ -1,14 +1,3 @@
|
|||
set runtimepath^=~/.vim runtimepath+=~/.vim/after
|
||||
let &packpath = &runtimepath
|
||||
source ~/.vimrc
|
||||
|
||||
autocmd TermOpen * startinsert
|
||||
|
||||
" augroup terminal
|
||||
" autocmd!
|
||||
" autocmd TermClose * if getline('$') == 'Exit 0' | close | endif
|
||||
" augroup end
|
||||
|
||||
" autocmd TermClose * if getline('$') == 'Exit 0' | close | endif
|
||||
|
||||
autocmd TermClose * :echo getline('$')
|
||||
|
|
8
install
8
install
|
@ -2,6 +2,7 @@
|
|||
|
||||
if [ -z "$HOME" ]; then echo "Seems you're \$HOMEless :("; exit 1; fi
|
||||
|
||||
DOTCONFIG=$HOME/.config
|
||||
DOTFILES=$HOME/.dotfiles
|
||||
DOTFZF=$HOME/.fzf
|
||||
DOTLOCAL=$HOME/.local/share/dotfiles
|
||||
|
@ -22,11 +23,12 @@ git remote rm origin
|
|||
git remote add origin git@github.com:joshtronic/dotfiles.git
|
||||
|
||||
rm -rf \
|
||||
"$DOTCONFIG/gtk-3.0/gtk.css" \
|
||||
"$DOTCONFIG/nvim/init.vim" \
|
||||
"$DOTFZF" \
|
||||
"$DOTLOCAL" \
|
||||
"$HOME/.bashrc" \
|
||||
"$HOME/.gitconfig" \
|
||||
"$HOME/.config/gtk-3.0/gtk.css" \
|
||||
"$HOME/.local/share/gnome-shell/extensions/custom@gnome-shell-extensions.joshtronic.com" \
|
||||
"$HOME/.screenrc" \
|
||||
"$HOME/.themes/custom/gnome-shell/gnome-shell.css" \
|
||||
|
@ -35,6 +37,7 @@ rm -rf \
|
|||
"$HOME/.zshrc"
|
||||
|
||||
mkdir -p \
|
||||
"$DOTCONFIG/"{gtk-3.0,nvim} \
|
||||
"$DOTLOCAL" \
|
||||
"$HOME/.local/share/gnome-shell/extensions" \
|
||||
"$HOME/.local/share/vim/"{swap,undo} \
|
||||
|
@ -47,6 +50,7 @@ ln -s "$DOTFILES/gitconfig" "$HOME/.gitconfig"
|
|||
ln -s "$DOTFILES/gnome/extension" "$HOME/.local/share/gnome-shell/extensions/custom@gnome-shell-extensions.joshtronic.com"
|
||||
ln -s "$DOTFILES/gnome/gnome-shell.css" "$HOME/.themes/custom/gnome-shell/gnome-shell.css"
|
||||
ln -s "$DOTFILES/gnome/gtk.css" "$HOME/.config/gtk-3.0/gtk.css"
|
||||
ln -s "$DOTFILES/init.vim" "$DOTCONFIG/nvim/init.vim"
|
||||
ln -s "$DOTFILES/screenrc" "$HOME/.screenrc"
|
||||
ln -s "$DOTFILES/vimrc" "$HOME/.vimrc"
|
||||
ln -s "$DOTFILES/zshrc" "$HOME/.zshrc"
|
||||
|
@ -88,4 +92,4 @@ cd "$HOME" || exit
|
|||
rm -f "${HOME}/.zcompdump*"
|
||||
|
||||
echo
|
||||
echo "DONEZO!!~!"
|
||||
echo "ENJOY! :)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue