home,editor: modify configuration
This commit is contained in:
parent
a219ef849d
commit
f09d37f5b2
3 changed files with 21 additions and 10 deletions
|
@ -10,13 +10,12 @@
|
||||||
normal = "block";
|
normal = "block";
|
||||||
select = "underline";
|
select = "underline";
|
||||||
};
|
};
|
||||||
statusline = {
|
statusline.mode = {
|
||||||
mode = {
|
|
||||||
normal = "--NORMAL--";
|
normal = "--NORMAL--";
|
||||||
insert = "--INSERT--";
|
insert = "--INSERT--";
|
||||||
select = "--SELECT--";
|
select = "--SELECT--";
|
||||||
};
|
};
|
||||||
};
|
soft-wrap.enable = true;
|
||||||
indent-guides.render = true;
|
indent-guides.render = true;
|
||||||
file-picker.hidden = false;
|
file-picker.hidden = false;
|
||||||
};
|
};
|
||||||
|
|
|
@ -8,6 +8,18 @@
|
||||||
package = pkgs.vscodium; # foss
|
package = pkgs.vscodium; # foss
|
||||||
enableExtensionUpdateCheck = false;
|
enableExtensionUpdateCheck = false;
|
||||||
enableUpdateCheck = false;
|
enableUpdateCheck = false;
|
||||||
|
keybindings = [
|
||||||
|
{
|
||||||
|
key = "tab";
|
||||||
|
command = "selectNextSuggestion";
|
||||||
|
when = "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
"key" = "shift+tab";
|
||||||
|
"command" = "selectPrevSuggestion";
|
||||||
|
"when" = "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion";
|
||||||
|
}
|
||||||
|
];
|
||||||
userSettings = {
|
userSettings = {
|
||||||
"diffEditor.ignoreTrimWhitespace" = false;
|
"diffEditor.ignoreTrimWhitespace" = false;
|
||||||
"editor.cursorBlinking" = "smooth";
|
"editor.cursorBlinking" = "smooth";
|
||||||
|
|
|
@ -5,10 +5,10 @@
|
||||||
}: {
|
}: {
|
||||||
programs.go.enable = true;
|
programs.go.enable = true;
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
### LSP
|
### LSP
|
||||||
gopls
|
home.packages = with pkgs; [gopls];
|
||||||
];
|
### VSCode
|
||||||
|
programs.vscode.extensions = with pkgs.vscode-extensions; [golang.go];
|
||||||
|
|
||||||
# Make Go follow XDG
|
# Make Go follow XDG
|
||||||
# "$HOME/go"...
|
# "$HOME/go"...
|
||||||
|
|
Loading…
Reference in a new issue