1
0
mirror of https://github.com/sameer1612/.dotfiles.git synced 2025-02-19 19:10:07 +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
;; they are implemented.
(load! "keybindings.el")

View File

@ -82,7 +82,7 @@
:checkers
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
:tools
@ -104,7 +104,7 @@
;;prodigy ; FIXME managing external services & code builders
;;terraform ; infrastructure as code
;;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
:os
@ -126,7 +126,7 @@
;;elixir ; erlang done right
;;elm ; care for a cup of TEA?
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
;;factor
;;faust ; dsp, but you get to keep your soul
@ -139,9 +139,9 @@
;;(haskell +lsp) ; a language that's lazier than I am
;;hy ; readability of scheme w/ speed of python
;;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
;;javascript ; all(hope(abandon(ye(who(enter(here))))))
javascript ; all(hope(abandon(ye(who(enter(here))))))
;;julia ; a better, faster MATLAB
;;kotlin ; a better, slicker Java(Script)
;;latex ; writing papers in Emacs has never been so fun
@ -157,13 +157,13 @@
;;plantuml ; diagrams for confusing people more
;;graphviz ; diagrams for confusing yourself even more
;;purescript ; javascript, but functional
;;python ; beautiful is better than ugly
python ; beautiful is better than ugly
;;qt ; the 'cutest' gui framework ever
;;racket ; a DSL for DSLs
;;raku ; the artist formerly known as perl6
;;rest ; Emacs as a REST client
;;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()
;;scala ; java, but good
;;(scheme +guile) ; a fully conniving family of lisps
@ -172,7 +172,7 @@
;;solidity ; do you need a blockchain? No.
;;swift ; who asked for emoji variables?
;;terra ; Earth and Moon in alignment for performance.
;;web ; the tubes
web ; the tubes
;;yaml ; JSON, but readable
;;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
## name: Gruvbox Material Dark Hard
## author: Sainnhe Park
## license: MIT
## 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
foreground #cbe3e7
background #1e1c31
selection_foreground #1e1c31
selection_background #aaffe4
background #1d2021
foreground #d4be98
active_tab_background #565575
inactive_tab_background #565575
active_tab_foreground #95ffa4
inactive_tab_foreground #cbe3e7
selection_background #d4be98
selection_foreground #1d2021
active_border_color #fbfcfc
cursor #a89984
cursor_text_color background
color0 #565575
color8 #100e23
# Black
color0 #665c54
color8 #928374
color1 #ff8080
color9 #ff5458
# Red
color1 #ea6962
color9 #ea6962
color2 #95ffa4
color10 #62d196
# Green
color2 #a9b665
color10 #a9b665
color3 #ffe9aa
color11 #ffb378
# Yellow
color3 #e78a4e
color11 #d8a657
color4 #91ddff
color12 #65b2ff
# Blue
color4 #7daea3
color12 #7daea3
color5 #c991e1
color13 #906cff
# Magenta
color5 #d3869b
color13 #d3869b
color6 #aaffe4
color14 #63f2f1
# Cyan
color6 #89b482
color14 #89b482
# White
color7 #d4be98
color15 #d4be98
color7 #cbe3e7
color15 #a6b3cc

View File

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

View File

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