update dmenu and st and also change color themes

This commit is contained in:
2022-03-18 11:22:19 +05:30
parent d8b0b372f8
commit 2bac5bafcd
4 changed files with 289 additions and 714 deletions

View File

@@ -33,6 +33,7 @@ c-white-2 "#ecebec")
(set-face-attribute 'default nil :font "Monoid" :height 120)
#+end_src
** Some mode settings based on personal preferences
#+begin_src emacs-lisp
(global-hl-line-mode 1)
@@ -44,6 +45,7 @@ c-white-2 "#ecebec")
(global-display-line-numbers-mode 1)
#+end_src
** Setting some variables
#+begin_src emacs-lisp
(setq initial-major-mode 'emacs-lisp-mode
@@ -55,6 +57,7 @@ c-white-2 "#ecebec")
inhibit-startup-screen t)
#+end_src
** Emacs startup hook
#+begin_src emacs-lisp
(add-hook 'emacs-startup-hook
@@ -106,6 +109,7 @@ Remap ivy keys to Colemak-DH
(ivy-mode 1))
#+end_src
** Evil
*** Configure evil mode
#+begin_src emacs-lisp
@@ -135,6 +139,7 @@ To get colemak-dh bindings in evil mode
(global-evil-colemak-basics-mode 1))
#+end_src
** Treemacs
*** Configure treemacs
#+begin_src emacs-lisp
@@ -145,6 +150,7 @@ To get colemak-dh bindings in evil mode
(treemacs-git-mode 'deferred))
#+end_src
** Configure treemacs-evil
Configure treemacs-evil to get colemak-dh bindings
#+begin_src emacs-lisp
@@ -161,6 +167,7 @@ Configure treemacs-evil to get colemak-dh bindings
)
#+end_src
** LSP
*** Configure lsp-mode
#+begin_src emacs-lisp
@@ -191,6 +198,7 @@ Configure treemacs-evil to get colemak-dh bindings
(lsp-ui-doc-enable 1))
#+end_src
** Company
*** Configure company
For autocomplete
@@ -211,6 +219,7 @@ For autocomplete
:hook (company-mode . company-quickhelp-mode))
#+end_src
** Treesitter
#+begin_src emacs-lisp
(use-package tree-sitter-langs)
@@ -237,11 +246,13 @@ For autocomplete
"\\.nomad\\'")
#+end_src
** Magit
#+begin_src emacs-lisp
(use-package magit)
#+end_src
* VTerm
*** Configure vterm
#+begin_src emacs-lisp
@@ -315,6 +326,7 @@ For autocomplete
(use-package general)
#+end_src
* Mode specific hooks
#+begin_src emacs-lisp
(add-hook 'c-mode-hook 'lsp)
@@ -378,6 +390,7 @@ For autocomplete
))))
#+end_comment
* Pop-up terminal
Stolen from [[https://www.reddit.com/r/emacs/comments/ft84xy/run_shell_command_in_new_vterm/][this]] reddit post
#+begin_src emacs-lisp
@@ -423,6 +436,7 @@ This returns the command to run in the terminal
("rs" (concat "rustc" full " -o " file " && " file " && rm " file)))))
#+end_src
* Keybinds
** General
#+begin_src emacs-lisp