home | switch default editor to lvim
This commit is contained in:
parent
cedfa3d41a
commit
d3ad4f0013
5 changed files with 7 additions and 5 deletions
|
|
@ -8,6 +8,7 @@ alias l="ls -l"
|
|||
alias df="df -h -x squashfs"
|
||||
alias du="du -h"
|
||||
alias neofetch="fastfetch"
|
||||
alias vi="${EDITOR}"
|
||||
if [ -x /home/don/.local/bin/dotdrop ]
|
||||
then
|
||||
alias dotdrop="/home/don/.local/bin/dotdrop -c ~/.dotfiles/config.yaml"
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ then
|
|||
LESS="-Rs"
|
||||
EXINIT="set wrapmargin=8 sh=$SHELL sw=4 report=2 tabstop=8"
|
||||
export EXINIT EDITOR PAGER LESS
|
||||
EDITOR=vi
|
||||
EDITOR=lvim
|
||||
if [ -x /usr/bin/vim ]
|
||||
then
|
||||
EDITOR=vim
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
core = {
|
||||
user = "Don Harper";
|
||||
email = "duck@duckland.org";
|
||||
editor = "${pkgs.neovim}/bin/nvim";
|
||||
editor = "${pkgs.lunarvim}/bin/lvim";
|
||||
};
|
||||
safe = {
|
||||
directory = "*";
|
||||
|
|
|
|||
|
|
@ -2,8 +2,11 @@
|
|||
home.packages = with pkgs; [ liquidprompt ];
|
||||
xdg.configFile."liquidpromptrc".text = ''
|
||||
source ~/.config/liquidprompt.theme
|
||||
LOCAL_RCFILE=$HOME/.config/liquidpromptrc.local
|
||||
LP_ALWAYS_DISPLAY_VALUES=1
|
||||
LP_BATTERY_THRESHOLD=75
|
||||
LP_DISABLED_VCS_PATH=""
|
||||
LP_DISPLAY_VALUES_AS_PERCENTS=1
|
||||
LP_ENABLE_BATT=1
|
||||
LP_ENABLE_BZR=0
|
||||
LP_ENABLE_DIRSTACK=0
|
||||
|
|
@ -33,13 +36,11 @@
|
|||
LP_LOAD_THRESHOLD=0.60
|
||||
LP_PATH_KEEP=2
|
||||
LP_PATH_LENGTH=35
|
||||
LP_PERCENTS_ALWAYS=1
|
||||
LP_RUNTIME_THRESHOLD=2
|
||||
LP_TEMP_THRESHOLD=60
|
||||
LP_TIME_ANALOG=0
|
||||
LP_TIME_FORMAT="%_I:%M %p"
|
||||
LP_USER_ALWAYS=1
|
||||
LOCAL_RCFILE=$HOME/.config/liquidpromptrc.local
|
||||
[ -f "$LOCAL_RCFILE" ] && source "$LOCAL_RCFILE"
|
||||
'';
|
||||
xdg.configFile."liquidprompt.theme".text = ''
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
{
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
defaultEditor = false;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
vimdiffAlias = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue