From 91ce0767f0f03491dba2b1ecc97d0e6b039efcd5 Mon Sep 17 00:00:00 2001 From: Lukas Wurzinger Date: Mon, 19 Aug 2024 23:01:06 +0200 Subject: [PATCH] helix --- fish/.config/fish/config.fish | 4 ++++ flake.lock | 20 ++++++++++---------- helix/.config/helix/config.toml | 23 +++++++++++++++++++++++ 3 files changed, 37 insertions(+), 10 deletions(-) create mode 100644 helix/.config/helix/config.toml diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish index 124e2ef..274d36c 100644 --- a/fish/.config/fish/config.fish +++ b/fish/.config/fish/config.fish @@ -12,6 +12,10 @@ if status is-interactive set fish_cursor_replace_one underscore blink set fish_cursor_visual block + if type -q direnv + direnv hook fish | source + end + abbr --add l ls abbr --add lsa ls -a abbr --add la ls -a diff --git a/flake.lock b/flake.lock index 190dfbe..c0f519f 100644 --- a/flake.lock +++ b/flake.lock @@ -5,11 +5,11 @@ "nixpkgs-lib": "nixpkgs-lib" }, "locked": { - "lastModified": 1717285511, - "narHash": "sha256-iKzJcpdXih14qYVcZ9QC9XuZYnPc6T8YImb6dX166kw=", + "lastModified": 1719877454, + "narHash": "sha256-g5N1yyOSsPNiOlFfkuI/wcUjmtah+nxdImJqrSATjOU=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8", + "rev": "4e3583423212f9303aa1a6337f8dffb415920e4f", "type": "github" }, "original": { @@ -20,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1719254875, - "narHash": "sha256-ECni+IkwXjusHsm9Sexdtq8weAq/yUyt1TWIemXt3Ko=", + "lastModified": 1719690277, + "narHash": "sha256-0xSej1g7eP2kaUF+JQp8jdyNmpmCJKRpO12mKl/36Kc=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "2893f56de08021cffd9b6b6dfc70fd9ccd51eb60", + "rev": "2741b4b489b55df32afac57bc4bfd220e8bf617e", "type": "github" }, "original": { @@ -36,14 +36,14 @@ }, "nixpkgs-lib": { "locked": { - "lastModified": 1717284937, - "narHash": "sha256-lIbdfCsf8LMFloheeE6N31+BMIeixqyQWbSr2vk79EQ=", + "lastModified": 1719876945, + "narHash": "sha256-Fm2rDDs86sHy0/1jxTOKB1118Q0O3Uc7EC0iXvXKpbI=", "type": "tarball", - "url": "https://github.com/NixOS/nixpkgs/archive/eb9ceca17df2ea50a250b6b27f7bf6ab0186f198.tar.gz" + "url": "https://github.com/NixOS/nixpkgs/archive/5daf0514482af3f97abaefc78a6606365c9108e2.tar.gz" }, "original": { "type": "tarball", - "url": "https://github.com/NixOS/nixpkgs/archive/eb9ceca17df2ea50a250b6b27f7bf6ab0186f198.tar.gz" + "url": "https://github.com/NixOS/nixpkgs/archive/5daf0514482af3f97abaefc78a6606365c9108e2.tar.gz" } }, "root": { diff --git a/helix/.config/helix/config.toml b/helix/.config/helix/config.toml new file mode 100644 index 0000000..02b34e4 --- /dev/null +++ b/helix/.config/helix/config.toml @@ -0,0 +1,23 @@ +theme = "github_dark" + +[editor] +line-number = "relative" +scroll-lines = 3 + +[editor.cursor-shape] +insert = "bar" +normal = "block" +select = "underline" + +[editor.lsp] +display-messages = true + +[editor.whitespace.characters] +space = " " +newline = "⏎" +tab = "→" +tabpad = "·" +nbsp = "⍽" + +[keys.normal] +esc = ["collapse_selection", "keep_primary_selection"]