Skip to content

Instantly share code, notes, and snippets.

@peterkos
Created October 12, 2023 19:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peterkos/938514599643d6167f7466d35068a0d5 to your computer and use it in GitHub Desktop.
Save peterkos/938514599643d6167f7466d35068a0d5 to your computer and use it in GitHub Desktop.
# theme = "gruvbox_dark_hard"
# theme = "monokai_pro_octagon"
theme = "ayu_mirage"
[editor]
auto-completion = true
color-modes = true
bufferline = "always"
scroll-lines = 1
scrolloff = 15
cursorline = true
[editor.cursor-shape]
insert = "bar"
normal = "bar"
select = "bar"
[editor.statusline]
center = ["version-control"]
[editor.file-picker]
hidden = false
# [editor.soft-wrap]
# enable = true
# max-wrap = 25
# max-indent-retain = 0
# wrap-indicator = "\t↪ "
# MARK: Keys
# Smooth scrolling
# src: https://github.com/helix-editor/helix/issues/1671#issuecomment-1384747972
[keys.normal]
C-e = "scroll_down"
C-y = "scroll_up"
# C-e = ["scroll_down", "move_line_down"]
# C-y = ["scroll_up", "move_line_up"]
# Save to register when entering visual mode
# allows for immediate `n` use a-la Sublime Cmd+D
"v" = ["select_mode", "search_selection"]
# When navigating via TS, we always want the cursor
# at the top, so the entire code block (or at least,
# tne top bit of it) is shown.
# "A-n" = ["select_next_sibling", "flip_selections"]
# "A-p" = ["select_prev_sibling", "flip_selections"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment