Use relative paths for vim configs
This commit is contained in:
parent
203540cdcf
commit
f092366d0a
3 changed files with 12 additions and 5 deletions
|
@ -1,3 +1,3 @@
|
|||
source /home/cyryl/dev/dotfiles/.vimrc.plugins-settings
|
||||
source /home/cyryl/dev/dotfiles/.vimrc.settings
|
||||
source /home/cyryl/dev/dotfiles/.vimrc.keymap
|
||||
source ~/dev/dotfiles/.vimrc.plugins-settings
|
||||
source ~/dev/dotfiles/.vimrc.settings
|
||||
source ~/dev/dotfiles/.vimrc.keymap
|
||||
|
|
|
@ -27,11 +27,14 @@ in
|
|||
mono calcurse calibre fbreader file python37Packages.binwalk-full
|
||||
slack discord obs-studio kpcli
|
||||
];
|
||||
|
||||
home.sessionVariables = {
|
||||
TERMINAL="termite";
|
||||
CM_LAUNCHER="rofi";
|
||||
};
|
||||
|
||||
home.file.".vimrc".source = ~/dev/dotfiles/.vimrc.nixos;
|
||||
|
||||
imports = [
|
||||
./programs/tmux.nix
|
||||
./programs/zsh.nix
|
||||
|
|
|
@ -4,9 +4,13 @@
|
|||
neovim.override {
|
||||
vimAlias = true;
|
||||
configure = {
|
||||
customRC = builtins.readFile /home/cyryl/dev/dotfiles/.vimrc.nixos;
|
||||
customRC = ''
|
||||
if filereadable($HOME . "/.vimrc")
|
||||
source ~/.vimrc
|
||||
endif
|
||||
'';
|
||||
|
||||
vam.knownPlugins = vimPlugins;
|
||||
vam.knownPlugins = unstable.vimPlugins;
|
||||
vam.pluginDictionaries = [
|
||||
{ names = [
|
||||
"ack-vim"
|
||||
|
|
Loading…
Reference in a new issue