1
0
mirror of https://github.com/sameer1612/.dotfiles.git synced 2025-02-22 19:38:57 +02:00

added keybinds file and enabled a few languages

This commit is contained in:
Sameer Kumar 2024-10-07 21:21:53 +05:30
parent 44e6f9f7fe
commit cda3128bc8
6 changed files with 51 additions and 58 deletions

View File

@ -74,3 +74,6 @@
;; ;;
;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how ;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
;; they are implemented. ;; they are implemented.
(load! "keybindings.el")

View File

@ -82,7 +82,7 @@
:checkers :checkers
syntax ; tasing you for every semicolon you forget syntax ; tasing you for every semicolon you forget
;;(spell +flyspell) ; tasing you for misspelling mispelling (spell +flyspell) ; tasing you for misspelling mispelling
;;grammar ; tasing grammar mistake every you make ;;grammar ; tasing grammar mistake every you make
:tools :tools
@ -104,7 +104,7 @@
;;prodigy ; FIXME managing external services & code builders ;;prodigy ; FIXME managing external services & code builders
;;terraform ; infrastructure as code ;;terraform ; infrastructure as code
;;tmux ; an API for interacting with tmux ;;tmux ; an API for interacting with tmux
;;tree-sitter ; syntax and parsing, sitting in a tree... tree-sitter ; syntax and parsing, sitting in a tree...
;;upload ; map local to remote projects via ssh/ftp ;;upload ; map local to remote projects via ssh/ftp
:os :os
@ -126,7 +126,7 @@
;;elixir ; erlang done right ;;elixir ; erlang done right
;;elm ; care for a cup of TEA? ;;elm ; care for a cup of TEA?
emacs-lisp ; drown in parentheses emacs-lisp ; drown in parentheses
;;erlang ; an elegant language for a more civilized age erlang ; an elegant language for a more civilized age
;;ess ; emacs speaks statistics ;;ess ; emacs speaks statistics
;;factor ;;factor
;;faust ; dsp, but you get to keep your soul ;;faust ; dsp, but you get to keep your soul
@ -139,9 +139,9 @@
;;(haskell +lsp) ; a language that's lazier than I am ;;(haskell +lsp) ; a language that's lazier than I am
;;hy ; readability of scheme w/ speed of python ;;hy ; readability of scheme w/ speed of python
;;idris ; a language you can depend on ;;idris ; a language you can depend on
;;json ; At least it ain't XML json ; At least it ain't XML
;;(java +lsp) ; the poster child for carpal tunnel syndrome ;;(java +lsp) ; the poster child for carpal tunnel syndrome
;;javascript ; all(hope(abandon(ye(who(enter(here)))))) javascript ; all(hope(abandon(ye(who(enter(here))))))
;;julia ; a better, faster MATLAB ;;julia ; a better, faster MATLAB
;;kotlin ; a better, slicker Java(Script) ;;kotlin ; a better, slicker Java(Script)
;;latex ; writing papers in Emacs has never been so fun ;;latex ; writing papers in Emacs has never been so fun
@ -157,13 +157,13 @@
;;plantuml ; diagrams for confusing people more ;;plantuml ; diagrams for confusing people more
;;graphviz ; diagrams for confusing yourself even more ;;graphviz ; diagrams for confusing yourself even more
;;purescript ; javascript, but functional ;;purescript ; javascript, but functional
;;python ; beautiful is better than ugly python ; beautiful is better than ugly
;;qt ; the 'cutest' gui framework ever ;;qt ; the 'cutest' gui framework ever
;;racket ; a DSL for DSLs ;;racket ; a DSL for DSLs
;;raku ; the artist formerly known as perl6 ;;raku ; the artist formerly known as perl6
;;rest ; Emacs as a REST client ;;rest ; Emacs as a REST client
;;rst ; ReST in peace ;;rst ; ReST in peace
;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"} (ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
;;(rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap() ;;(rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
;;scala ; java, but good ;;scala ; java, but good
;;(scheme +guile) ; a fully conniving family of lisps ;;(scheme +guile) ; a fully conniving family of lisps
@ -172,7 +172,7 @@
;;solidity ; do you need a blockchain? No. ;;solidity ; do you need a blockchain? No.
;;swift ; who asked for emoji variables? ;;swift ; who asked for emoji variables?
;;terra ; Earth and Moon in alignment for performance. ;;terra ; Earth and Moon in alignment for performance.
;;web ; the tubes web ; the tubes
;;yaml ; JSON, but readable ;;yaml ; JSON, but readable
;;zig ; C, but simpler ;;zig ; C, but simpler

View File

@ -0,0 +1,3 @@
;; Keybindings for Doom Emacs
(map! :n "J" (lambda () (interactive) (evil-next-line 5)))
(map! :n "K" (lambda () (interactive) (evil-previous-line 5)))

View File

@ -1,47 +1,35 @@
# vim:ft=kitty foreground #cbe3e7
## name: Gruvbox Material Dark Hard background #1e1c31
## author: Sainnhe Park selection_foreground #1e1c31
## license: MIT selection_background #aaffe4
## upstream: https://raw.githubusercontent.com/rsaihe/gruvbox-material-kitty/main/colors/gruvbox-material-dark-hard.conf
## blurb: A modified version of Gruvbox with softer contrasts
background #1d2021 active_tab_background #565575
foreground #d4be98 inactive_tab_background #565575
active_tab_foreground #95ffa4
inactive_tab_foreground #cbe3e7
selection_background #d4be98 active_border_color #fbfcfc
selection_foreground #1d2021
cursor #a89984 color0 #565575
cursor_text_color background color8 #100e23
# Black color1 #ff8080
color0 #665c54 color9 #ff5458
color8 #928374
# Red color2 #95ffa4
color1 #ea6962 color10 #62d196
color9 #ea6962
# Green color3 #ffe9aa
color2 #a9b665 color11 #ffb378
color10 #a9b665
# Yellow color4 #91ddff
color3 #e78a4e color12 #65b2ff
color11 #d8a657
# Blue color5 #c991e1
color4 #7daea3 color13 #906cff
color12 #7daea3
# Magenta color6 #aaffe4
color5 #d3869b color14 #63f2f1
color13 #d3869b
# Cyan color7 #cbe3e7
color6 #89b482 color15 #a6b3cc
color14 #89b482
# White
color7 #d4be98
color15 #d4be98

View File

@ -61,7 +61,7 @@ map kitty_mod+r next_layout
map kitty_mod+m toggle_layout stack map kitty_mod+m toggle_layout stack
# BEGIN_KITTY_THEME # BEGIN_KITTY_THEME
# Gruvbox Material Dark Hard # Challenger Deep
include current-theme.conf include current-theme.conf
# END_KITTY_THEME # END_KITTY_THEME

View File

@ -1,10 +1,10 @@
# vim:fileencoding=utf-8:foldmethod=marker # vim:fileencoding=utf-8:foldmethod=marker
font_family VictorMono Nerd Font font_family VictorMono Nerd Font
bold_font auto bold_font auto
italic_font auto italic_font auto
bold_italic_font auto bold_italic_font auto
font_size 16.0 font_size 17.0
disable_ligatures never disable_ligatures never
cursor_shape block cursor_shape block
@ -23,7 +23,7 @@ mouse_map left click ungrabbed mouse_handle_click selection link prompt
enable_audio_bell no enable_audio_bell no
# Window management # Window management
initial_window_width 640 initial_window_width 640
initial_window_height 400 initial_window_height 400
enabled_layouts fat,tall, stack enabled_layouts fat,tall, stack
@ -45,11 +45,10 @@ macos_traditional_fullscreen yes
macos_show_window_title_in none macos_show_window_title_in none
macos_colorspace displayp3 macos_colorspace displayp3
# Keymaps # Keymaps
kitty_mod alt+shift kitty_mod alt+shift
map cmd+enter launch --cwd=current map alt+enter launch --cwd=current
map cmd+t new_tab_with_cwd map cmd+t new_tab_with_cwd
map cmd+1 goto_tab 1 map cmd+1 goto_tab 1
@ -62,7 +61,7 @@ map kitty_mod+r next_layout
map kitty_mod+m toggle_layout stack map kitty_mod+m toggle_layout stack
# BEGIN_KITTY_THEME # BEGIN_KITTY_THEME
# Gruvbox Material Dark Hard # Breath2
include current-theme.conf include current-theme.conf
# END_KITTY_THEME # END_KITTY_THEME
@ -74,9 +73,9 @@ map cmd+right send_text all \x05
# Vim navigations # Vim navigations
map ctrl+j kitten pass_keys.py neighboring_window bottom ctrl+j map ctrl+j kitten pass_keys.py neighboring_window bottom ctrl+j
map ctrl+k kitten pass_keys.py neighboring_window top ctrl+k map ctrl+k kitten pass_keys.py neighboring_window top ctrl+k
map ctrl+h kitten pass_keys.py neighboring_window left ctrl+h map ctrl+h kitten pass_keys.py neighboring_window left ctrl+h
map ctrl+l kitten pass_keys.py neighboring_window right ctrl+l map ctrl+l kitten pass_keys.py neighboring_window right ctrl+l
allow_remote_control yes allow_remote_control yes
listen_on unix:/tmp/mykitty listen_on unix:/tmp/mykitty