removed kakoune config after switching back to neovim
This commit is contained in:
parent
dd369d63d8
commit
f7b837090d
|
@ -1,80 +0,0 @@
|
|||
{ config, pkgs, lib, inputs, ... }:
|
||||
let
|
||||
smarttab = pkgs.kakouneUtils.buildKakounePlugin {
|
||||
name = "kakoune-smarttab";
|
||||
src = inputs.kakoune-smarttab;
|
||||
};
|
||||
|
||||
sort-selections = pkgs.kakouneUtils.buildKakounePlugin {
|
||||
name = "sort-selections-kak";
|
||||
src = inputs.kakoune-sort-selections;
|
||||
};
|
||||
|
||||
in
|
||||
{
|
||||
programs.kakoune = {
|
||||
enable = false;
|
||||
plugins = with pkgs.kakounePlugins; [
|
||||
kak-lsp
|
||||
kakboard
|
||||
kakoune-extra-filetypes
|
||||
powerline-kak
|
||||
smarttab
|
||||
sort-selections
|
||||
];
|
||||
config = {
|
||||
colorScheme = "gruvbox-dark";
|
||||
tabStop = 4;
|
||||
indentWidth = 4;
|
||||
showMatching = true;
|
||||
showWhitespace = { enable = false; };
|
||||
numberLines.enable = true;
|
||||
|
||||
hooks = [
|
||||
{
|
||||
name = "WinSetOption";
|
||||
option = "filetype=nix|sh";
|
||||
commands = "hook window BufWritePre .* lsp-formatting-sync";
|
||||
}
|
||||
|
||||
{
|
||||
name = "WinCreate";
|
||||
option = ".*";
|
||||
commands = "kakboard-enable";
|
||||
}
|
||||
{
|
||||
name = "InsertChar";
|
||||
option = "\\t";
|
||||
commands = "exec -draft -itersel h@";
|
||||
}
|
||||
];
|
||||
|
||||
keyMappings = [ ];
|
||||
|
||||
ui = {
|
||||
assistant = "none";
|
||||
setTitle = false;
|
||||
};
|
||||
};
|
||||
extraConfig = ''
|
||||
set global startup_info_version 99999999
|
||||
#set-option global auto_pairs ( ) { } [ ] '"' '"' "'" "'" ` ` “ ” ‘ ’ « » ‹ ›
|
||||
|
||||
eval %sh{kak-lsp --kakoune -s $kak_session} # Not needed if you load it with plug.kak.
|
||||
lsp-enable
|
||||
|
||||
map global user l %{: enter-user-mode lsp<ret>} -docstring "LSP mode"
|
||||
|
||||
set-face global Default rgb:ebdbb2,default
|
||||
set-face global StatusLine rgb:ebdbb2,default
|
||||
set-face global BufferPadding rgb:504945,default
|
||||
|
||||
require-module powerline
|
||||
powerline-start
|
||||
powerline-theme gruvbox
|
||||
#powerline-separator global half-step
|
||||
'';
|
||||
};
|
||||
|
||||
home.packages = [ pkgs.rnix-lsp ];
|
||||
}
|
|
@ -4,7 +4,6 @@
|
|||
nix-colors.homeManagerModule
|
||||
./configs/beets
|
||||
./configs/cava
|
||||
./configs/kakoune
|
||||
./configs/wayland/hyprland.nix
|
||||
#./configs/wayland/sway.nix
|
||||
./configs/fish
|
||||
|
|
Reference in New Issue