Fixed the keyd thing to work with the later nix revisions and deleted vim.nix because it didn't work either way
This commit is contained in:
3 files changed
+13
-32
No files matched your search
+9
-4
@@ -3,10 +3,15 @@
|
||||
{
|
||||
services.keyd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
main = {
|
||||
# Replace Copilot Key
|
||||
"leftshift+leftmeta+f23" = "rightcontrol";
|
||||
keyboards = {
|
||||
default = {
|
||||
ids = [ "*" ];
|
||||
settings = {
|
||||
main = {
|
||||
# Fix Right Control Key
|
||||
"leftshift+leftmeta+f23" = "rightcontrol";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.vim = {
|
||||
defaultEditor = true;
|
||||
customRC = ''
|
||||
" Enable line numbers
|
||||
set number
|
||||
set relativenumber
|
||||
|
||||
" Indentation rules
|
||||
set tabstop=4
|
||||
set shiftwidth=4
|
||||
set expandtab
|
||||
|
||||
" Better searching
|
||||
set hlsearch
|
||||
set incsearch
|
||||
set ignorecase
|
||||
set smartcase
|
||||
|
||||
" Enable syntax highlighting and mouse support
|
||||
syntax on
|
||||
set mouse=a
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user