Add helix and LSP for python
This commit is contained in:
committed by
J. Fernando Sánchez
parent
f0bda1964e
commit
1522c8d6a0
13
helix/.config/helix/config.toml
Normal file
13
helix/.config/helix/config.toml
Normal file
@@ -0,0 +1,13 @@
|
||||
theme = "github_dark"
|
||||
|
||||
[editor]
|
||||
line-number = "relative"
|
||||
mouse = false
|
||||
|
||||
[editor.cursor-shape]
|
||||
insert = "bar"
|
||||
normal = "block"
|
||||
select = "underline"
|
||||
|
||||
[editor.file-picker]
|
||||
hidden = false
|
||||
@@ -65,6 +65,7 @@
|
||||
# Dev tools
|
||||
git
|
||||
lazygit
|
||||
jujutsu
|
||||
|
||||
# Python
|
||||
python3
|
||||
@@ -123,7 +124,7 @@
|
||||
XDG_BIN_HOME = "${config.home.homeDirectory}/.local/bin";
|
||||
#This variable is overriden. It does not work
|
||||
EDITOR = "hx";
|
||||
PAGER = "bat";
|
||||
#PAGER = "bat";
|
||||
};
|
||||
home.sessionPath = [ "$XDG_BIN_HOME" ];
|
||||
|
||||
@@ -168,7 +169,9 @@
|
||||
};
|
||||
|
||||
#programs.neovim.enable = true;
|
||||
programs.neovim.defaultEditor = true;
|
||||
#programs.neovim.defaultEditor = false;
|
||||
#programs.helix.enable = true;
|
||||
#programs.helix.defaultEditor = true;
|
||||
|
||||
programs.zoxide.enable = true;
|
||||
programs.bash = {
|
||||
@@ -187,7 +190,7 @@
|
||||
xdg.configFile = let
|
||||
dotfiles = "${config.home.homeDirectory}/git/dotfiles";
|
||||
|
||||
createDotlink = name: {
|
||||
createDotLink = name: {
|
||||
source = config.lib.file.mkOutOfStoreSymlink "${dotfiles}/${name}/.config/${name}";
|
||||
recursive = true;
|
||||
};
|
||||
@@ -196,5 +199,6 @@
|
||||
"git" = createDotLink "git";
|
||||
"niri" = createDotLink "niri";
|
||||
"jj" = createDotLink "jj";
|
||||
"helix" = createDotLink "helix";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
jujutsu
|
||||
ansible
|
||||
awscli2
|
||||
cargo-cross
|
||||
rustup
|
||||
rustc
|
||||
gcc
|
||||
python3Packages.jedi-language-server
|
||||
ruff
|
||||
vial
|
||||
chromium
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user