Compare commits

..

No commits in common. "3870149fa123523c64c0548a569e89127eb95b5c" and "60d330155722d0d112836fceeca38536609eccac" have entirely different histories.

2 changed files with 4 additions and 21 deletions

View File

@ -52,15 +52,11 @@ Display line numbers for all Programming Modes.
Add hook to enable display-line-numbers-mode on all programming major modes: Add hook to enable display-line-numbers-mode on all programming major modes:
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(add-hook 'prog-mode-hook 'display-line-numbers-mode) (add-hook 'prog-mode-hook 'display-line-numbers-mode)
(add-hook 'org-mode-hook 'display-line-numbers-mode)
;; Alternatively, globally
;; (global-display-line-numbers-mode)
#+END_SRC #+END_SRC
*** Relative Line Numbers *** Relative Line Numbers
Relative line numbers Relative line numbers
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(add-hook 'display-line-numbers-mode-hook (lambda () (setq display-line-numbers 'relative))) (setq display-line-numbers 'relative)
#+END_SRC #+END_SRC
*** Tab Width *** Tab Width
Change tab width. Change tab width.
@ -295,9 +291,6 @@ Install the package, enable it and ensure that it always is installed:
("★" "Star" "Show stars" (lambda (&rest _) (show-stars)) warning) ("★" "Star" "Show stars" (lambda (&rest _) (show-stars)) warning)
("?" "" "?/h" #'show-help nil "<" ">")) ("?" "" "?/h" #'show-help nil "<" ">"))
)) ))
;; Ensure dashboard gets started up even if the hook fails
(dashboard-open)
#+END_SRC #+END_SRC
** Performance ** Performance
*** Gcmh Mode *** Gcmh Mode
@ -600,8 +593,6 @@ Install the package, enable it and ensure that it always is installed, and then
(projectile-mode)) (projectile-mode))
#+END_SRC #+END_SRC
** Auto Completion ** Auto Completion
Autocompletion can also be handled by ACM in LSP Bridge.
*** Which Key *** Which Key
Which Key is an insanely useful package that will automatically show you the possible key combinations to finish a binded keychord. Which Key is an insanely useful package that will automatically show you the possible key combinations to finish a binded keychord.
Install the package, enable it and ensure that it always is installed, and then make sure that which-key is enabled by default: Install the package, enable it and ensure that it always is installed, and then make sure that which-key is enabled by default:
@ -821,7 +812,7 @@ For evil mode:
:config :config
(global-evil-mc-mode 1) (global-evil-mc-mode 1)
:bind :bind
("C-c m" . 'evil-mc-make-cursor-here) ("C-c m" . 'evil-mc-make-all-cursors)
:bind :bind
("C-c C-m" . 'evil-mc-make-and-goto-next-match)) ("C-c C-m" . 'evil-mc-make-and-goto-next-match))
#+END_SRC #+END_SRC
@ -978,8 +969,7 @@ Flycheck is a modern version of Flymake, provides error messages
(use-package flycheck (use-package flycheck
:ensure t :ensure t
:config :config
(add-hook 'after-init-hook #'global-flycheck-mode) (add-hook 'after-init-hook #'global-flycheck-mode))
(add-hook 'prog-mode-hook #'flycheck-mode))
;; Display errors inline ;; Display errors inline
(use-package flycheck-inline (use-package flycheck-inline
@ -1448,9 +1438,3 @@ TRAMP edit files over SSH configuration
(when (eq window-system 'w32) (when (eq window-system 'w32)
(setq tramp-default-method "plink"))) (setq tramp-default-method "plink")))
#+END_SRC #+END_SRC
** Emacs Server
Start emacs server, this can then be used to open buffers/set the current emacs session as the EDITOR.
#+BEGIN_SRC emacs-lisp
(server-start)
#+END_SRC

View File

@ -1,3 +1,2 @@
alias edit emacsclient -n $1
alias cd z $1
alias ssh cd /ssh:$1: alias ssh cd /ssh:$1:
alias cd z $1