Updated konsole and init
This commit is contained in:
parent
5a6629631e
commit
8eefe3a2ff
6 changed files with 106 additions and 18 deletions
|
|
@ -63,6 +63,15 @@
|
|||
(use-package helm-projectile
|
||||
:ensure t)
|
||||
|
||||
(use-package dokuwiki
|
||||
:ensure t
|
||||
:config
|
||||
(setq dokuwiki-xml-rpc-url "https://wiki.roboces.dev/lib/exe/xmlrpc.php")
|
||||
(setq dokuwiki-login-user-name "superuser"))
|
||||
|
||||
(use-package dokuwiki-mode
|
||||
:ensure t)
|
||||
|
||||
(use-package projectile-ripgrep
|
||||
:ensure t)
|
||||
|
||||
|
|
@ -256,6 +265,7 @@
|
|||
(define-key treemacs-mode-map (kbd "C-j") nil)
|
||||
(define-key treemacs-mode-map (kbd "C-k") nil)
|
||||
(define-key treemacs-mode-map (kbd "C-;") 'treemacs-RET-action)
|
||||
(define-key treemacs-mode-map (kbd "M-p") nil)
|
||||
|
||||
;;Using helm as minibuffer autocompletion manager
|
||||
(setf projectile-completion-system 'helm)
|
||||
|
|
@ -322,11 +332,39 @@
|
|||
(global-set-key (kbd "C-ñ") 'forward-char)
|
||||
(global-set-key (kbd "C-j") 'backward-char)
|
||||
|
||||
;; Move forward word by word
|
||||
(global-set-key (kbd "C-f") 'forward-word)
|
||||
(global-set-key (kbd "C-b") 'backward-word)
|
||||
|
||||
(global-set-key (kbd "C-S-d") (lambda () (interactive) (delete-char -1)))
|
||||
|
||||
;; Map delete/backspace
|
||||
(global-set-key (kbd "C-d") (lambda () (interactive) (backward-delete-char-untabify 1)))
|
||||
(global-set-key (kbd "C-S-d") (lambda () (interactive) (delete-char 1)))
|
||||
|
||||
;; Map inverse transpose
|
||||
(global-set-key (kbd "C-S-t") (lambda () (interactive) (transpose-chars -1)))
|
||||
|
||||
;; Map RET
|
||||
(global-set-key (kbd "C-i") (lambda () (interactive) (newline)))
|
||||
|
||||
;; TODO: Remap up/downcase to region instead of word - not working
|
||||
(put 'downcase-region 'disabled nil)
|
||||
(put 'upcase-region 'disabled nil)
|
||||
(global-set-key (kbd "M-S-l") (lambda () (interactive) (upcase-region)))
|
||||
(global-set-key (kbd "M-l") (lambda () (interactive) (downcase-region)))
|
||||
|
||||
;; Map scroll line by line
|
||||
(global-set-key (kbd "M-i") (lambda () (interactive) (scroll-up 1)) )
|
||||
(global-set-key (kbd "M-p") (lambda () (interactive) (scroll-down 1)) )
|
||||
|
||||
;; Windmove
|
||||
(global-set-key (kbd "M-u") 'windmove-left)
|
||||
(global-set-key (kbd "M-i") 'windmove-down)
|
||||
(global-set-key (kbd "M-o") 'windmove-up)
|
||||
(global-set-key (kbd "M-p") 'windmove-right)
|
||||
|
||||
;; Forcefully insert column tab
|
||||
(global-set-key (kbd "S-<iso-lefttab>") 'tab-to-tab-stop)
|
||||
|
||||
(global-set-key (kbd "C-x C-u") (lambda () (interactive) (other-window -1)))
|
||||
(global-set-key (kbd "C-x C-o") (lambda () (interactive) (other-window 1)))
|
||||
(global-set-key (kbd "C-x u") 'dired-jump)
|
||||
|
|
@ -371,11 +409,7 @@
|
|||
(setq-local comment-style 'extra-line)))
|
||||
|
||||
(global-set-key [f6] 'comment-region)
|
||||
(global-set-key (kbd "M-i") (lambda () (interactive) (scroll-up 1)) )
|
||||
(global-set-key (kbd "M-p") (lambda () (interactive) (scroll-down 1)) )
|
||||
|
||||
(global-set-key [f9] (lambda () (interactive) (find-file user-init-file)) )
|
||||
|
||||
(global-set-key [f8] 'projectile-find-file)
|
||||
(global-set-key [f7] 'projectile-compile-project)
|
||||
|
||||
|
|
@ -496,7 +530,7 @@
|
|||
;; If there is more than one, they won't work right.
|
||||
)
|
||||
(put 'dired-find-alternate-file 'disabled nil)
|
||||
)
|
||||
)
|
||||
(custom-set-variables
|
||||
;; custom-set-variables was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
|
|
@ -504,12 +538,12 @@
|
|||
;; If there is more than one, they won't work right.
|
||||
'(markdown-command "/usr/bin/pandoc")
|
||||
'(package-selected-packages
|
||||
'(benchmark-init crdt helm-projectile hl-todo lua-mode magit-todos
|
||||
markdown-mode projectile projectile-ripgrep
|
||||
ripgrep ssh-agency sudo-edit super-save
|
||||
tangotango-theme treemacs treemacs-evil
|
||||
treemacs-icons-dired treemacs-magit treemacs-persp
|
||||
treemacs-projectile treemacs-tab-bar))
|
||||
'(benchmark-init centered-cursor-mode crdt dokuwiki dokuwiki-mode
|
||||
helm-projectile lua-mode magit-todos markdown-mode
|
||||
projectile-ripgrep ssh-agency sudo-edit super-save
|
||||
tangotango-theme treemacs-icons-dired
|
||||
treemacs-magit treemacs-persp treemacs-projectile
|
||||
treemacs-tab-bar))
|
||||
'(ripgrep-arguments '("--follow"))
|
||||
'(safe-local-variable-values
|
||||
'((projectile-project-compilation-cmd . "latexmk")
|
||||
|
|
@ -522,3 +556,4 @@
|
|||
)
|
||||
|
||||
(load "~/.emacs.d/roleplay.el")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue