nix-less hm config ready

This commit is contained in:
Bryan Ramos 2024-05-09 11:53:23 -04:00
parent f28ec054cd
commit 1d170da221
11 changed files with 63 additions and 160 deletions

View file

@ -54,8 +54,6 @@ function penpot() {
esac
}
source ~/Documents/projects/ldv/ldv.sh
set -o vi
bind 'set completion-ignore-case on'

View file

@ -9,7 +9,7 @@ check_ssh() {
add_icon() {
local icon=$1
if [[ ! $venv_icons =~ $icon ]]; then
venv_icons+="$icon"
venv_icons+="$icon "
fi
}

View file

@ -11,6 +11,7 @@ in
home.packages = with pkgs; [
tor-browser
brave
];
};
}

View file

@ -10,11 +10,6 @@ in
home.packages = with pkgs; [
nix-init
nix-prefetch-git
glibc
gcc
docker
];
};
}

View file

@ -13,7 +13,7 @@ autocmd VimEnter * if len(filter(values(g:plugs), '!isdirectory(v:val.dir)'))
\| endif
call plug#begin('~/.vim/plugged')
Plug 'joshdick/onedark.vim'
Plug 'petobens/colorish'
Plug 'tpope/vim-surround'
Plug 'jiangmiao/auto-pairs'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
@ -26,7 +26,8 @@ call plug#begin('~/.vim/plugged')
call plug#end()
let mapleader = "\<Space>"
colorscheme onedark
set background=dark
colorscheme onedarkish
highlight CursorLine ctermbg=NONE guibg=NONE
highlight CursorLineNr ctermfg=magenta guifg=magenta

View file

@ -7,8 +7,12 @@ let
in
{ options.modules.user.utils.vim = { enable = mkEnableOption "user.utils.vim"; };
config = mkIf cfg.enable {
programs.bash.shellAliases = {
vi = "${pkgs.vim}/bin/vim";
};
home = {
packages = with pkgs; [
packages = with pkgs; [
vim
];
file.".vim" = {
@ -16,8 +20,5 @@ in
recursive = true;
};
};
programs.bash.shellAliases = {
vi = "${pkgs.vim}/bin/vim";
};
};
}