]> git.armaanb.net Git - config.org.git/blobdiff - config.org
Remove LSP mode
[config.org.git] / config.org
index cdec8792a71e17161f7bd7baf2e74c50cd1511fd..50606688394bbac0fe17b507ff15eb508e3cd3da 100644 (file)
@@ -524,54 +524,10 @@ Use Emacs globally. Use the Emacs daemon and bind a key in your wm to
         (lambda nil
           (propertize (concat
                        "\n" (eshell/pwd) " ➤ ")
-                       'face '(:foreground "cyan")))
+                      'face '(:foreground "cyan")))
         eshell-highlight-prompt nil)
 #+end_src
 * Emacs IDE
-** LSP
-*** General
-#+begin_src emacs-lisp
-  (use-package lsp-mode
-    :commands (lsp lsp-deferred)
-    :custom (lsp-keymap-prefix "C-c l")
-    :hook ((lsp-mode . lsp-enable-which-key-integration)))
-
-  (use-package lsp-ivy)
-
-  (use-package lsp-ui
-    :commands lsp-ui-mode
-    :custom (lsp-ui-doc-position 'bottom))
-  (use-package lsp-ui-flycheck
-    :after lsp-ui
-    :straight (:type built-in))
-#+end_src
-*** Company
-Company-box adds icons.
-#+begin_src emacs-lisp
-  (use-package company
-    :after lsp-mode
-    :hook (lsp-mode . company-mode)
-    :bind (:map company-active-map
-                ("<tab>" . company-complete-selection))
-    (:map lsp-mode-map
-          ("<tab>" . company-indent-or-complete-common))
-    :custom
-    (company-minimum-prefix-length 1)
-    (setq company-dabbrev-downcase 0)
-    (company-idle-delay 0.0))
-
-  (use-package company-box
-    :hook (company-mode . company-box-mode))
-#+end_src
-*** Language servers
-**** Python
-#+begin_src emacs-lisp
-  (use-package lsp-pyright
-    :hook (python-mode . (lambda ()
-                           (use-package lsp-pyright
-                             :straight (:type built-in))
-                           (lsp-deferred))))
-#+end_src
 ** Code cleanup
 #+begin_src emacs-lisp
   (use-package blacken
@@ -876,10 +832,10 @@ No more clogging up init.el.
   program[k] = xdotool keyup k key --clearmodifiers Up
   program[l] = xdotool keyup l key --clearmodifiers Right
 
-  bind[h] = Mod1 + Tab + h
-  bind[j] = Mod1 + Tab + j
-  bind[k] = Mod1 + Tab + k
-  bind[l] = Mod1 + Tab + l
+  bind[h] = MOD + Control + h
+  bind[j] = MOD + Control + j
+  bind[k] = MOD + Control + k
+  bind[l] = MOD + Control + l
 #+end_src
 **** Programs
 #+begin_src conf :tangle ~/.spectrwm.conf
@@ -1070,6 +1026,7 @@ I manage plugins using my own plugin manager, ZPE. https://git.sr.ht/~armaan/zpe
   alias tcf='ssh root@204.48.23.68'
   alias ngmun='ssh root@157.245.89.25'
   alias prox='ssh root@192.168.1.224'
+  alias ncq='ssh root@143.198.123.17'
   alias dock='ssh root@192.168.1.225'
   alias jenkins='ssh root@192.168.1.226'
   alias envs='ssh acheam@envs.net'
@@ -1110,6 +1067,7 @@ I manage plugins using my own plugin manager, ZPE. https://git.sr.ht/~armaan/zpe
   alias pkill='pkill -i'
   alias cx='chmod +x'
   alias redoas='doas $(fc -ln -1)'
+  alias crontab='crontab-argh'
   alias sudo='doas ' # allows aliases to be run with doas
 #+end_src
 **** Networking
@@ -1206,7 +1164,8 @@ I manage plugins using my own plugin manager, ZPE. https://git.sr.ht/~armaan/zpe
   export GTK_USE_PORTAL=1
 
   export PATH="/home/armaa/.local/bin:$PATH" # prioritize .local/bin
-  export PATH="$PATH:/home/armaa/Code/scripts"
+  export PATH="/home/armaa/Code/scripts:$PATH" # prioritize my scripts
+  export PATH="/home/armaa/Code/scripts/bin:$PATH" # prioritize my bins
   export PATH="$PATH:/home/armaa/.cargo/bin"
   export PATH="$PATH:/home/armaa/.local/share/gem/ruby/2.7.0/bin"
   export PATH="$PATH:/usr/sbin"
@@ -1244,21 +1203,6 @@ window:
 
 background_opacity: 1
 #+end_src
-*** Keybindings
-Send <RET> + modifier through
-#+begin_src yml :tangle ~/.config/alacritty/alacritty.yml
-key_bindings:
-  - {
-    key: Return,
-    mods: Shift,
-    chars: "\x1b[13;2u"
-  }
-  - {
-    key: Return,
-    mods: Control,
-    chars: "\x1b[13;5u"
-  }
-#+end_src
 *** Color scheme
 Modus vivendi. Source: https://github.com/ishan9299/Nixos/blob/d4bbb7536be95b59466bb9cca4d671be46e04e81/user/alacritty/alacritty.yml#L30-L118
 #+begin_src yml :tangle ~/.config/alacritty/alacritty.yml
@@ -1396,6 +1340,7 @@ For any GNU Readline programs
 #+begin_src conf :tangle ~/.gitconfig
 [commit]
   gpgsign = true
+  verbose = true
 #+end_src
 ** Dunst
 Lightweight notification daemon.