mirror of
https://github.com/librephoenix/nixos-config
synced 2025-04-21 01:34:34 +05:30
Tramp for emacs and shell setup for remote servers
This commit is contained in:
parent
3ce67cc188
commit
1600681cfc
|
@ -1055,3 +1055,13 @@ https://github.com/magit/magit/issues/460 (@cpitclaudel)."
|
||||||
(use-package gdscript-mode
|
(use-package gdscript-mode
|
||||||
:hook (gdscript-mode . lsp-deferred)
|
:hook (gdscript-mode . lsp-deferred)
|
||||||
:ensure t)
|
:ensure t)
|
||||||
|
|
||||||
|
(after! tramp
|
||||||
|
(setq tramp-inline-compress-start-size 1000)
|
||||||
|
(setq tramp-copy-size-limit 10000)
|
||||||
|
(setq vc-handled-backends '(Git))
|
||||||
|
(setq tramp-verbose 1)
|
||||||
|
(setq tramp-default-method "scp")
|
||||||
|
(setq tramp-use-ssh-controlmaster-options nil)
|
||||||
|
(setq projectile--mode-line "Projectile")
|
||||||
|
(setq tramp-verbose 1))
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
- [[#direnv][Direnv]]
|
- [[#direnv][Direnv]]
|
||||||
- [[#projectile][Projectile]]
|
- [[#projectile][Projectile]]
|
||||||
- [[#lsp][LSP]]
|
- [[#lsp][LSP]]
|
||||||
|
- [[#tramp][Tramp]]
|
||||||
- [[#my-initel][My init.el]]
|
- [[#my-initel][My init.el]]
|
||||||
- [[#my-packagesel][My packages.el]]
|
- [[#my-packagesel][My packages.el]]
|
||||||
- [[#nix-integration][Nix Integration]]
|
- [[#nix-integration][Nix Integration]]
|
||||||
|
@ -1227,6 +1228,18 @@ I don't have this active right now since I'm exploring tab-bar mode instead!
|
||||||
:hook (gdscript-mode . lsp-deferred)
|
:hook (gdscript-mode . lsp-deferred)
|
||||||
:ensure t)
|
:ensure t)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
** Tramp
|
||||||
|
#+BEGIN_SRC emacs-lisp :tangle config.el
|
||||||
|
(after! tramp
|
||||||
|
(setq tramp-inline-compress-start-size 1000)
|
||||||
|
(setq tramp-copy-size-limit 10000)
|
||||||
|
(setq vc-handled-backends '(Git))
|
||||||
|
(setq tramp-verbose 1)
|
||||||
|
(setq tramp-default-method "scp")
|
||||||
|
(setq tramp-use-ssh-controlmaster-options nil)
|
||||||
|
(setq projectile--mode-line "Projectile")
|
||||||
|
(setq tramp-verbose 1))
|
||||||
|
#+END_SRC
|
||||||
* My init.el
|
* My init.el
|
||||||
This section is the [[./init.el][init.el]] section, which controls which Doom modules are loaded.
|
This section is the [[./init.el][init.el]] section, which controls which Doom modules are loaded.
|
||||||
|
|
||||||
|
|
|
@ -21,6 +21,7 @@ in
|
||||||
PROMPT=" ◉ %U%F{magenta}%n%f%u@%U%F{blue}%m%f%u:%F{yellow}%~%f
|
PROMPT=" ◉ %U%F{magenta}%n%f%u@%U%F{blue}%m%f%u:%F{yellow}%~%f
|
||||||
%F{green}→%f "
|
%F{green}→%f "
|
||||||
RPROMPT="%F{red}▂%f%F{yellow}▄%f%F{green}▆%f%F{cyan}█%f%F{blue}▆%f%F{magenta}▄%f%F{white}▂%f"
|
RPROMPT="%F{red}▂%f%F{yellow}▄%f%F{green}▆%f%F{cyan}█%f%F{blue}▆%f%F{magenta}▄%f%F{white}▂%f"
|
||||||
|
[ $TERM = "dumb" ] && unsetopt zle && PS1='$ '
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue