From 37cd921aca977f2e1d356d577a851714c0ad513e Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Mon, 10 Sep 2018 15:09:00 -0400 Subject: [PATCH] Update dots --- dots/common/.aliases.sh | 3 +++ dots/common/.config/fish/functions/fish_prompt.fish | 1 + dots/common/.config/nvim/init.vim | 7 +++++++ dots/common/.vim/config.vim | 2 ++ 4 files changed, 13 insertions(+) diff --git a/dots/common/.aliases.sh b/dots/common/.aliases.sh index 8fad2d1..0084032 100644 --- a/dots/common/.aliases.sh +++ b/dots/common/.aliases.sh @@ -24,6 +24,9 @@ alias l="exa -1" # Show each output from ls on a separate line alias where="type" # An alternative for shells that don't use the where command +alias ...="cd ../.." # Easily go up 2 directories +alias ....="cd ../../.." # Easily go up 3 directories + #################################################################### # Volume aliases #################################################################### diff --git a/dots/common/.config/fish/functions/fish_prompt.fish b/dots/common/.config/fish/functions/fish_prompt.fish index 553a24a..0c562c6 100644 --- a/dots/common/.config/fish/functions/fish_prompt.fish +++ b/dots/common/.config/fish/functions/fish_prompt.fish @@ -12,6 +12,7 @@ function fish_prompt set_color yellow; echo -n "$USER@$hostname" set_color normal; echo -n " " set_color magenta; echo -n "($pwd)" + #set_color magenta; echo -n "$pwd" set_color normal; echo -n " " set_color red; echo -n "➤" set_color green; echo -n "➤" diff --git a/dots/common/.config/nvim/init.vim b/dots/common/.config/nvim/init.vim index ffdbfda..f193b7a 100644 --- a/dots/common/.config/nvim/init.vim +++ b/dots/common/.config/nvim/init.vim @@ -2,5 +2,12 @@ " Copyright (C) 2017-2018 Donovan Glover set runtimepath^=~/.vim runtimepath+=~/.vim/after + let &packpath = &runtimepath + +" Enable global clipboard support for all vim commands in neovim +" NOTE: It may be better to just add a keybind for "+(y), or just +" use that instead. +set clipboard=unnamedplus + source ~/.vimrc diff --git a/dots/common/.vim/config.vim b/dots/common/.vim/config.vim index 5cf4ed4..cd8128f 100644 --- a/dots/common/.vim/config.vim +++ b/dots/common/.vim/config.vim @@ -41,3 +41,5 @@ set shiftwidth=4 " Make autoindent appear as 4 spaces set expandtab " When using , replace the tab character with 4 spaces set smarttab " Always indent based on column number to align things easier + +set mouse=a " Enable mouse support in (a)ll modes