From a57c3c087266746c1786ccf7de36923ac48d1154 Mon Sep 17 00:00:00 2001 From: Valentin Boettcher Date: Thu, 25 Jul 2019 12:20:26 +0200 Subject: [PATCH] updates --- dots/alacritty/alacritty.yml.template | 2 -- dots/home/.emacs | 11 ++++++++--- dots/i3/config.template | 4 ++-- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/dots/alacritty/alacritty.yml.template b/dots/alacritty/alacritty.yml.template index 301cb25..d4bc9e1 100644 --- a/dots/alacritty/alacritty.yml.template +++ b/dots/alacritty/alacritty.yml.template @@ -83,8 +83,6 @@ font: # false. use_thin_strokes: true -# Should display the render timer -render_timer: false # Visual Bell # diff --git a/dots/home/.emacs b/dots/home/.emacs index 7f9e9a2..07f60a8 100644 --- a/dots/home/.emacs +++ b/dots/home/.emacs @@ -50,7 +50,7 @@ 21b984cded01717930639ded0e569e1724d058af8" default))) '(package-selected-packages (quote - (fish-mode pkgbuild-mode realgud fzf ein org-super-agenda company-lsp dap-mode lsp-ui lsp-mode elixir-yasnippets alchemist ethan-wspace sphinx-doc python-docstring elpy htmlize company-anaconda anaconda-mode graphql-mode graphql git-gutter-fringe+ git-timemachine flycheck-pos-tip modalka doom-modeline company-tern persp-projectile perspective all-the-icons-ivy all-the-icons-dired all-the-icons neotree rjsx-mode emmet-mode web-mode counsel-projectile jade-mode srefactor sly-repl-ansi-color sly-quicklisp sly-macrostep sly ranger company-tabnine counsel-notmuch circe-notifications circe pretty-mode lispy info-beamer auctex-latexmk ag indium js-doc yasnippet-classic-snippets yasnippet-snippets ivy-yasnippet counsel sage-shell-mode dummyparens magit-filenotify docker-compose-mode docker js2-refactor flycheck-rtags flycheck ivy-rtags rtags auctex magit flycheck-rust avy-flycheck company racer cargo rust-mode restart-emacs json-mode multiple-cursors swiper ivy xresources-theme powerline))) + (company-lsp poly-org which-key ethan-wspace sphinx-doc python-docstring elpy htmlize company-anaconda anaconda-mode graphql-mode graphql git-gutter-fringe+ git-timemachine flycheck-pos-tip modalka doom-modeline company-tern persp-projectile perspective all-the-icons-ivy all-the-icons-dired all-the-icons neotree rjsx-mode emmet-mode web-mode counsel-projectile jade-mode srefactor sly-repl-ansi-color sly-quicklisp sly-macrostep sly ranger company-tabnine counsel-notmuch circe-notifications circe pretty-mode lispy info-beamer auctex-latexmk ag indium js-doc yasnippet-classic-snippets yasnippet-snippets ivy-yasnippet counsel sage-shell-mode dummyparens magit-filenotify docker-compose-mode docker js2-refactor flycheck-rtags flycheck ivy-rtags rtags auctex magit flycheck-rust avy-flycheck company racer cargo rust-mode restart-emacs json-mode multiple-cursors swiper ivy xresources-theme powerline))) '(safe-local-variable-values (quote ((TeX-master . t)))) '(show-paren-mode t) '(tramp-syntax (quote default) nil (tramp))) @@ -75,8 +75,6 @@ (goto-char (marker-position (car (last mark-ring)))))))) (global-set-key (kbd "C-c m c") 'mc/edit-lines) -(global-set-key (kbd "C-x ") - 'mc/edit-lines) ;;; Packages @@ -765,3 +763,10 @@ Effect of this translation is global." (add-hook 'lsp-mode-hook 'lsp-ui-mode) (add-to-list 'exec-path "/home/hiro/src/elixir-ls/rel/language_server.sh") + +(use-package multiple-cursors + :ensure t + :bind (("M-" . mc/add-cursor-on-click) + :prefix "C-c m" + :prefix-map my/mc-map + ("c" . mc/edit-lines))) diff --git a/dots/i3/config.template b/dots/i3/config.template index 819438f..2b6874b 100644 --- a/dots/i3/config.template +++ b/dots/i3/config.template @@ -40,7 +40,7 @@ bindsym $mod+Return exec WINIT_HIDPI_FACTOR=1.0 alacritty bindsym $mod+Shift+q kill # start dmenu (a program launcher) -bindsym $mod+d exec rofi -show run +bindsym $mod+d exec rofi -matching fuzzy -show run # There also is the (new) i3-dmenu-desktop which only displays applications # shipping a .desktop file. It is a wrapper around dmenu, so you need that @@ -252,7 +252,7 @@ client.unfocused {{S_base02}} {{S_base03}} {{S_base00}} #586e75 client.urgent {{S_orange}} {{S_base03}} {{S_base00}} #dc322f -bindsym $mod+Shift+P exec --no-startup-id gopass ls --flat | rofi -dmenu | xargs --no-run-if-empty gopass show -c +bindsym $mod+Shift+P exec --no-startup-id gopass ls --flat | rofi -matching fuzzy -dmenu | xargs --no-run-if-empty gopass show -c #exec --no-startup-id i3-msg 'workspace 4; exec st -hold -e ssh chat@ssh.protagon.space -p 5123' {{ #SCREENLAYOUT }}