mirror of
https://github.com/bluxmit/alnoda-workspaces.git
synced 2024-05-01 20:52:23 +12:00
emacs workspace
This commit is contained in:
parent
1b051c8c3c
commit
2d96563e10
|
@ -3,9 +3,6 @@
|
|||
(add-to-list 'package-archives
|
||||
'("elpy" . "http://jorgenschaefer.github.io/packages/"))
|
||||
|
||||
(add-to-list 'package-archives
|
||||
'("marmalade" . "http://marmalade-repo.org/packages/"))
|
||||
|
||||
(add-to-list 'package-archives
|
||||
'("melpa" . "https://melpa.org/packages/") t)
|
||||
|
||||
|
@ -14,9 +11,9 @@
|
|||
|
||||
; list the packages you want
|
||||
(setq package-list
|
||||
'(python-environment deferred epc
|
||||
flycheck ctable jedi concurrent company cyberpunk-theme elpy
|
||||
yasnippet pyvenv highlight-indentation find-file-in-project
|
||||
'(neotree dired-sidebar deferred epc
|
||||
flycheck ctable concurrent company cyberpunk-theme
|
||||
yasnippet highlight-indentation find-file-in-project
|
||||
sql-indent sql exec-path-from-shell iedit
|
||||
auto-complete popup let-alist magit git-rebase-mode
|
||||
git-commit-mode minimap popup))
|
||||
|
|
|
@ -31,4 +31,21 @@
|
|||
|
||||
(require 'package)
|
||||
(setq package-archives (cons '("tromey" . "http://tromey.com/elpa/") package-archives))
|
||||
(package-initialize)
|
||||
(package-initialize)
|
||||
|
||||
(use-package dired-sidebar
|
||||
:bind (("C-x C-n" . dired-sidebar-toggle-sidebar))
|
||||
:ensure t
|
||||
:commands (dired-sidebar-toggle-sidebar)
|
||||
:init
|
||||
(add-hook 'dired-sidebar-mode-hook
|
||||
(lambda ()
|
||||
(unless (file-remote-p default-directory)
|
||||
(auto-revert-mode))))
|
||||
:config
|
||||
(push 'toggle-window-split dired-sidebar-toggle-hidden-commands)
|
||||
(push 'rotate-windows dired-sidebar-toggle-hidden-commands)
|
||||
(setq dired-sidebar-subtree-line-prefix "__")
|
||||
(setq dired-sidebar-theme 'vscode)
|
||||
(setq dired-sidebar-use-term-integration t)
|
||||
(setq dired-sidebar-use-custom-font t))
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
# Use colon separators.
|
||||
xterm-24bit|xterm with 24-bit direct color mode,
|
||||
use=xterm-256color,
|
||||
setb24=\E[48:2:%p1%{65536}%/%d:%p1%{256}%/%{255}%&%d:%p1%{255}%&%dm,
|
||||
setf24=\E[38:2:%p1%{65536}%/%d:%p1%{256}%/%{255}%&%d:%p1%{255}%&%dm,
|
||||
# Use semicolon separators.
|
||||
xterm-24bits|xterm with 24-bit direct color mode,
|
||||
use=xterm-256color,
|
||||
setb24=\E[48;2;%p1%{65536}%/%d;%p1%{256}%/%{255}%&%d;%p1%{255}%&%dm,
|
||||
setf24=\E[38;2;%p1%{65536}%/%d;%p1%{256}%/%{255}%&%d;%p1%{255}%&%dm,
|
|
@ -1,113 +0,0 @@
|
|||
(use-package treemacs
|
||||
:ensure t
|
||||
:defer t
|
||||
:init
|
||||
(with-eval-after-load 'winum
|
||||
(define-key winum-keymap (kbd "M-0") #'treemacs-select-window))
|
||||
:config
|
||||
(progn
|
||||
(setq treemacs-collapse-dirs (if treemacs-python-executable 3 0)
|
||||
treemacs-deferred-git-apply-delay 0.5
|
||||
treemacs-directory-name-transformer #'identity
|
||||
treemacs-display-in-side-window t
|
||||
treemacs-eldoc-display 'simple
|
||||
treemacs-file-event-delay 2000
|
||||
treemacs-file-extension-regex treemacs-last-period-regex-value
|
||||
treemacs-file-follow-delay 0.2
|
||||
treemacs-file-name-transformer #'identity
|
||||
treemacs-follow-after-init t
|
||||
treemacs-expand-after-init t
|
||||
treemacs-find-workspace-method 'find-for-file-or-pick-first
|
||||
treemacs-git-command-pipe ""
|
||||
treemacs-goto-tag-strategy 'refetch-index
|
||||
treemacs-header-scroll-indicators '(nil . "^^^^^^")
|
||||
treemacs-hide-dot-git-directory t
|
||||
treemacs-indentation 2
|
||||
treemacs-indentation-string " "
|
||||
treemacs-is-never-other-window nil
|
||||
treemacs-max-git-entries 5000
|
||||
treemacs-missing-project-action 'ask
|
||||
treemacs-move-forward-on-expand nil
|
||||
treemacs-no-png-images nil
|
||||
treemacs-no-delete-other-windows t
|
||||
treemacs-project-follow-cleanup nil
|
||||
treemacs-persist-file (expand-file-name ".cache/treemacs-persist" user-emacs-directory)
|
||||
treemacs-position 'left
|
||||
treemacs-read-string-input 'from-child-frame
|
||||
treemacs-recenter-distance 0.1
|
||||
treemacs-recenter-after-file-follow nil
|
||||
treemacs-recenter-after-tag-follow nil
|
||||
treemacs-recenter-after-project-jump 'always
|
||||
treemacs-recenter-after-project-expand 'on-distance
|
||||
treemacs-litter-directories '("/node_modules" "/.venv" "/.cask")
|
||||
treemacs-show-cursor nil
|
||||
treemacs-show-hidden-files t
|
||||
treemacs-silent-filewatch nil
|
||||
treemacs-silent-refresh nil
|
||||
treemacs-sorting 'alphabetic-asc
|
||||
treemacs-select-when-already-in-treemacs 'move-back
|
||||
treemacs-space-between-root-nodes t
|
||||
treemacs-tag-follow-cleanup t
|
||||
treemacs-tag-follow-delay 1.5
|
||||
treemacs-text-scale nil
|
||||
treemacs-user-mode-line-format nil
|
||||
treemacs-user-header-line-format nil
|
||||
treemacs-wide-toggle-width 70
|
||||
treemacs-width 35
|
||||
treemacs-width-increment 1
|
||||
treemacs-width-is-initially-locked t
|
||||
treemacs-workspace-switch-cleanup nil)
|
||||
|
||||
;; The default width and height of the icons is 22 pixels. If you are
|
||||
;; using a Hi-DPI display, uncomment this to double the icon size.
|
||||
;;(treemacs-resize-icons 44)
|
||||
|
||||
(treemacs-follow-mode t)
|
||||
(treemacs-filewatch-mode t)
|
||||
(treemacs-fringe-indicator-mode 'always)
|
||||
(when treemacs-python-executable
|
||||
(treemacs-git-commit-diff-mode t))
|
||||
|
||||
(pcase (cons (not (null (executable-find "git")))
|
||||
(not (null treemacs-python-executable)))
|
||||
(`(t . t)
|
||||
(treemacs-git-mode 'deferred))
|
||||
(`(t . _)
|
||||
(treemacs-git-mode 'simple)))
|
||||
|
||||
(treemacs-hide-gitignored-files-mode nil))
|
||||
:bind
|
||||
(:map global-map
|
||||
("M-0" . treemacs-select-window)
|
||||
("C-x t 1" . treemacs-delete-other-windows)
|
||||
("C-x t t" . treemacs)
|
||||
("C-x t d" . treemacs-select-directory)
|
||||
("C-x t B" . treemacs-bookmark)
|
||||
("C-x t C-t" . treemacs-find-file)
|
||||
("C-x t M-t" . treemacs-find-tag)))
|
||||
|
||||
(use-package treemacs-evil
|
||||
:after (treemacs evil)
|
||||
:ensure t)
|
||||
|
||||
(use-package treemacs-projectile
|
||||
:after (treemacs projectile)
|
||||
:ensure t)
|
||||
|
||||
(use-package treemacs-icons-dired
|
||||
:hook (dired-mode . treemacs-icons-dired-enable-once)
|
||||
:ensure t)
|
||||
|
||||
(use-package treemacs-magit
|
||||
:after (treemacs magit)
|
||||
:ensure t)
|
||||
|
||||
(use-package treemacs-persp ;;treemacs-perspective if you use perspective.el vs. persp-mode
|
||||
:after (treemacs persp-mode) ;;or perspective vs. persp-mode
|
||||
:ensure t
|
||||
:config (treemacs-set-scope-type 'Perspectives))
|
||||
|
||||
(use-package treemacs-tab-bar ;;treemacs-tab-bar if you use tab-bar-mode
|
||||
:after (treemacs)
|
||||
:ensure t
|
||||
:config (treemacs-set-scope-type 'Tabs))
|
BIN
workspaces/emacs-workspace/workspace/emacs.jpg
Normal file
BIN
workspaces/emacs-workspace/workspace/emacs.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 315 KiB |
Binary file not shown.
Before Width: | Height: | Size: 429 KiB |
|
@ -14,25 +14,24 @@ logo: emacs-circle-white.svg
|
|||
favicon: emacs-circle.svg
|
||||
|
||||
styles:
|
||||
font: JetBrains Mono
|
||||
font: Noto Sans Mono
|
||||
colors:
|
||||
light:
|
||||
primary: "#282A36"
|
||||
accent: "#EB71B9"
|
||||
primary: "#2E3440"
|
||||
accent: "#909C63"
|
||||
background: "#F5F7F7"
|
||||
title: "#005F87"
|
||||
code_text: "#EAB676"
|
||||
code_background: "#252525"
|
||||
code_text: "#282A36"
|
||||
code_background: "#eab676"
|
||||
title: "#86BFCE"
|
||||
text: "#2E3440"
|
||||
code_text: "#86BFCE"
|
||||
code_background: "#2E3440"
|
||||
dark:
|
||||
primary: "#424450"
|
||||
accent: "#45C368"
|
||||
background: "#282A36"
|
||||
title: "#F1FA8C"
|
||||
text: "#BD93F9"
|
||||
code_text: "#282A36"
|
||||
code_background: "#eab676"
|
||||
primary: "#4C566A"
|
||||
accent: "#E6866C"
|
||||
background: "#2E3440"
|
||||
title: "#909C63"
|
||||
text: "#86BFCE"
|
||||
code_text: "#2E3440"
|
||||
code_background: "#86BFCE"
|
||||
common_colors:
|
||||
header: "#FFFFFF"
|
||||
nav: "#eab676"
|
||||
|
@ -44,7 +43,7 @@ pages:
|
|||
path: /
|
||||
title: IDE
|
||||
description: "Browser-based Emacs IDE"
|
||||
image: emacs.png
|
||||
image: emacs.jpg
|
||||
- name: M.Commander
|
||||
port: 8025
|
||||
title: M.Commander
|
||||
|
@ -61,8 +60,24 @@ cheatsheet:
|
|||
Emacs:
|
||||
- cmd: Esc-x (or Meta-x)
|
||||
description: run any Emacs command by its extended (i.e., full) name
|
||||
- cmd: Ctrl-x Ctrl-s
|
||||
description: save changes
|
||||
- cmd: Ctrl-x Ctrl-f
|
||||
description: open file (or create new)
|
||||
- cmd: Ctrl-x u
|
||||
description: undo last change
|
||||
- cmd: Esc-x shell
|
||||
description: open terminal in Emacs window
|
||||
- cmd: Esc-x package-list-packages
|
||||
description: Show list of available Emacs packages
|
||||
description: show list of available Emacs packages
|
||||
- cmd: Esc-x package-list-packages
|
||||
description: show list of available Emacs packages
|
||||
- cmd: Esc-x neotree-show
|
||||
description: show neotree file tree
|
||||
- cmd: Esc-x dired-sidebar-toggle-sidebar
|
||||
description: show dired file tree
|
||||
- cmd: Esc Esc
|
||||
description: close split screen (or file tree)
|
||||
|
||||
links:
|
||||
Developer help:
|
||||
|
|
|
@ -21,8 +21,6 @@ styles:
|
|||
accent: "#EB71B9"
|
||||
background: "#F5F7F7"
|
||||
title: "#005F87"
|
||||
code_text: "#EAB676"
|
||||
code_background: "#252525"
|
||||
code_text: "#282A36"
|
||||
code_background: "#eab676"
|
||||
dark:
|
||||
|
|
Loading…
Reference in a new issue