vim config, anki, organicmaps

This commit is contained in:
tristan 2023-09-24 14:37:45 +01:00
parent ce1c48b4a4
commit a35aca1564
6 changed files with 38 additions and 31 deletions

View file

@ -59,6 +59,26 @@ in
};
};
};
extraConfig = ''
vnoremap * y/\V<C-R>=escape(@",'/\')<CR><CR>
vnoremap <C-R> "ry:%s/<C-R>=escape(@r,'/\')<CR>
vnoremap A :norm A
set number
set rnu
set ignorecase
set smartcase
set mouse=a
set path=.,**
let g:netrw_banner=0
let g:netrw_liststyle=3
set undofile
set undodir=~/.local/share/nvim/undo
'';
plugins = with pkgs.vimPlugins; [
vim-surround
vim-commentary
firenvim
];
};
}];

View file

@ -13,7 +13,6 @@ with lib;
wayland.windowManager.hyprland.extraConfig = ''
# === KEYBOARD MODULE ===
input {
kb_variant = dvorak
kb_layout = gb
kb_options = caps:escape
numlock_by_default = true

View file

@ -29,21 +29,10 @@ with lib;
xmrig
transmission-remote-gtk
krita
organicmaps
anki
];
accounts.calendar = {
basePath = "Calendars";
accounts."tristan@files.tristans.cloud" = {
primary = true;
remote = {
type = "caldav";
url = "https://files.tristans.cloud/remote.php/dav/";
userName = "tristan";
passwordCommand = [ "${pkgs.rbw}/bin/rbw" "get" "files.tristans.cloud" "tristan" ];
};
};
};
}];
};
}

View file

@ -56,6 +56,7 @@ in
bind = SUPER, n, focuswindow, Logseq
windowrule = float, title:wlogout
windowrule = idleinhibit always, vrmonitor
bind = SUPER, h, movefocus,l
bind = SUPER, l, movefocus,r