# Russian translations for Martin\'s personal website package # Copyright (C) 2024 Martin # This file is distributed under the same license as the Martin\'s personal website package. # Automatically generated, 2024. # msgid "" msgstr "" "Project-Id-Version: Martin\\'s personal website master\n" "Report-Msgid-Bugs-To: martin@michalec.dev\n" "POT-Creation-Date: 2024-10-30 20:02+0300\n" "PO-Revision-Date: 2024-10-24 06:12+0300\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:3 #, no-wrap msgid "" "#+title: GNU/Linux and GNU Emacs Introduction\n" "#+keywords: beginner gnu linux emacs\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:8 #, no-wrap msgid "" "* Installing Debian\n" "** Preparations\n" "*** Getting debian\n" "Download Debian [[https://www.debian.org/][installer image]]\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:12 #, no-wrap msgid "" "*** Creating installation medium\n" "On =M$= Windows, use a tool like [[https://rufus.ie/en/][Rufus]] to create a bootable USB flash\n" "drive with the downloaded =.iso= file\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:15 #, no-wrap msgid "" "*** Allocating disk space\n" "Either get an empty disk or shrink on of your data partitions (toms) to get a continuous region of free space which is at least around 100GB.\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:19 #, no-wrap msgid "" "** Installation process\n" "If installing on a laptop, make sure that it's fully charged and keep\n" "the charger plugged in.\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:22 #, no-wrap msgid "" "*** Booting from the installation medium\n" "NOTE: You might have to enable booting from USB in BIOS.\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:24 #, no-wrap msgid "Select the USB from boot menu or change boot order.\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:27 #, no-wrap msgid "" "*** The Debian installer\n" "Select the =install= option (not the =Graphical install=) in the GRUB bootloader.\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:29 #, no-wrap msgid "To navigate the menus, use arrow keys and TAB, to toggle check boxes use spacebar and to press button use the enter key.\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:47 #, no-wrap msgid "" "Simple guide:\n" "1. Select region\n" "2. Select localization (US)\n" "3. Select keyboard layout (most likely US/ISO)\n" "4. Select connected if you have Ethernet connection or wireless if you\n" " want to connect to wifi.\n" "5. Choose hostname.\n" "6. Skip domain name.\n" "7. Skip proxy.\n" "8. Select mirror in your region.\n" "9. Set root password.\n" "10. Set user's full name, username and password.\n" "11. Deselect all software packages except base.\n" "12. To dual boot with Windows select guided partitioning (free space).\n" "13. Select =/home= folder on a separate partition.\n" "14. Start the installation.\n" "15. Reboot and check that you can boot everything.\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:59 #, no-wrap msgid "" "* Setting up GNU/Linux\n" "** User setup\n" "1. Login as root\n" "1. Edit =/etc/apt/sources= and add =non-free contrib testing unstable=\n" "2. ~apt udpate~\n" "3. ~apt upgrade~\n" "4. ~apt install sudo~\n" "5. ~visudo~ (%wheel ALL=(ALL) NOPASSWD: ALL)\n" "6. ~groupadd wheel~\n" "7. ~usermod -aG wheel YOUR_USERNAME~\n" "8. ~exit~\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:70 #, no-wrap msgid "" "** Environment setup\n" "*** Folder setup\n" "#+begin_src sh\n" "cd\n" "rmdir Downloads Desktop ...\n" "mkdir downloads documents multimedia\n" "cd multimedia\n" "mkdir screenshots\n" "mkdir screencasts\n" "#+end_src\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:73 #, no-wrap msgid "" "*** Emacs setup\n" "~sudo apt install emacs git vterm-module libtd~\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:75 #, no-wrap msgid "Delete =~/.emacs.d=\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:77 #, no-wrap msgid "Edit =~/.config/emacs/init.el=\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:83 #, no-wrap msgid "" "#+name: emacs-server\n" "#+header: :tangle emacs/init.el\n" "#+begin_src emacs-lisp\n" "(server-start)\n" "#+end_src\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:100 #, no-wrap msgid "" "#+name: emacs-straight\n" "#+header: :tangle emacs/init.el\n" "#+begin_src emacs-lisp\n" "(defvar bootstrap-version)\n" "(let ((bootstrap-file\n" " (expand-file-name\n" " \"straight/repos/straight.el/bootstrap.el\" user-emacs-directory))\n" " (bootstrap-version 6))\n" " (unless (file-exists-p bootstrap-file)\n" " (with-current-buffer\n" " (url-retrieve-synchronously\n" " \"https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el\"\n" " 'silent 'inhibit-cookies)\n" " (goto-char (point-max))\n" " (eval-print-last-sexp)))\n" " (load bootstrap-file nil 'nomessage))\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:105 #, no-wrap msgid "" "(straight-use-package 'use-package)\n" "(setq straight-use-package-by-default t\n" " use-package-always-ensure t)\n" "#+end_src\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:115 #, no-wrap msgid "" "#+name: emacs-coding\n" "#+header: :tangle emacs/init.el\n" "#+begin_src emacs-lisp\n" "(prefer-coding-system 'utf-8)\n" "(set-language-environment \"UTF-8\")\n" "(set-default-coding-systems 'utf-8)\n" "(set-terminal-coding-system 'utf-8)\n" "(setq-default buffer-file-coding-system 'utf-8)\n" "#+end_src\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:123 #, no-wrap msgid "" "#+name: emacs-clean-look\n" "#+header: :tangle emacs/init.el\n" "#+begin_src emacs-lisp\n" "(menu-bar-mode -1)\n" "(tool-bar-mode -1)\n" "(scroll-bar-mode -1)\n" "#+end_src\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:138 #, no-wrap msgid "" "#+name: emacs-misc\n" "#+header: :tangle emacs/init.el\n" "#+begin_src emacs-lisp\n" "(setq kill-ring-max 10000)\n" "(repeat-mode 1)\n" "(auto-insert-mode 1)\n" "(global-hl-line-mode 1)\n" "(setq display-time-24hr-format t)\n" "(setq default-input-method \"russian-computer\")\n" "(load-theme 'modus-vivendi t)\n" "(fset 'yes-or-no-p 'y-or-n-p)\n" "(set-face-attribute 'default nil :font \"Iosevka\" :height 180)\n" "(global-subword-mode)\n" "#+end_src\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:148 #, no-wrap msgid "" "#+name: emacs-compilation\n" "#+header: :tangle emacs/init.el\n" "#+begin_src emacs-lisp\n" "(require 'ansi-color)\n" "(add-hook 'compilation-filter-hook 'ansi-color-compilation-filter)\n" "(add-hook 'compilation-mode-hook 'toggle-truncate-lines)\n" "(define-key global-map (kbd \"C-\") 'compile)\n" "(define-key global-map (kbd \"\") 'recompile)\n" "#+end_src\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:155 #, no-wrap msgid "" "#+name: emacs-trash\n" "#+header: :tangle emacs/init.el\n" "#+begin_src emacs-lisp\n" "(use-package trashed)\n" "(setq delete-by-moving-to-trash t)\n" "#+end_src\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:163 #, no-wrap msgid "" "#+name: emacs-undo-tree\n" "#+header: :tangle emacs/init.el\n" "#+begin_src emacs-lisp\n" "(use-package undo-tree\n" " :config\n" " (global-undo-tree-mode))\n" "#+end_src\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:171 #, no-wrap msgid "" "#+name: emacs-page-break-lines\n" "#+header: :tangle emacs/init.el\n" "#+begin_src emacs-lisp\n" "(use-package page-break-lines\n" " :config\n" " (global-page-break-lines-mode))\n" "#+end_src\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:188 #, no-wrap msgid "" "#+name: emacs-pdf-tools\n" "#+header: :tangle emacs/init.el\n" "#+begin_src emacs-lisp\n" "(use-package pdf-tools\n" " :demand t\n" " :hook (pdf-view-mode . pdf-view-themed-minor-mode)\n" " :config\n" " ;; Initialize the package\n" " (pdf-tools-install)\n" " ;; Associate pdf-view-mode with PDF files\n" " (add-to-list 'auto-mode-alist '(\"\\\\.pdf\\\\'\" . pdf-view-mode))\n" " ;; Enable seamless scrolling between pages\n" " (setq pdf-view-continuous-scroll-mode t)\n" " ;; Use normal Emacs keybindings for scrolling\n" " (setq pdf-view-continuous-scroll-keystrokes nil))\n" "#+end_src\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:194 #, no-wrap msgid "" "#+name: emacs-eglot\n" "#+header: :tangle emacs/init.el\n" "#+begin_src emacs-lisp\n" "(use-package eglot)\n" "#+end_src\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:200 #, no-wrap msgid "" "#+name: emacs-project\n" "#+header: :tangle emacs/init.el\n" "#+begin_src emacs-lisp\n" "(use-package project)\n" "#+end_src\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:207 #, no-wrap msgid "" "#+name: emacs-terminals\n" "#+header: :tangle emacs/init.el\n" "#+begin_src emacs-lisp\n" "(use-package vterm)\n" "(use-package eat)\n" "#+end_src\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:215 #, no-wrap msgid "" "#+name: emacs-telega\n" "#+header: :tangle emacs/init.el\n" "#+begin_src emacs-lisp\n" "(use-package telega\n" " :custom\n" " (telega-server-libs-prefix \"/usr\"))\n" "#+end_src\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:221 #, no-wrap msgid "" "#+name: emacs-emms\n" "#+header: :tangle emacs/init.el\n" "#+begin_src emacs-lisp\n" "(use-package emms)\n" "#+end_src\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:229 #, no-wrap msgid "" "#+name: emacs-multitran\n" "#+header: :tangle emacs/init.el\n" "#+begin_src emacs-lisp\n" "(use-package multitran\n" " :bind\n" " ((\"s-t\" . multitran-at-pos)))\n" "#+end_src\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:237 #, no-wrap msgid "" "#+name: emacs-savehist\n" "#+header: :tangle emacs/init.el\n" "#+begin_src emacs-lisp\n" "(use-package savehist\n" " :config\n" " (savehist-mode))\n" "#+end_src\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:243 #, no-wrap msgid "" "#+name: emacs-lorem-ipsum\n" "#+header: :tangle emacs/init.el\n" "#+begin_src emacs-lisp\n" "(use-package lorem-ipsum)\n" "#+end_src\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:251 #, no-wrap msgid "" "#+name: emacs-smartparens\n" "#+header: :tangle emacs/init.el\n" "#+begin_src emacs-lisp\n" "(use-package smartparens\n" " :init\n" " (smartparens-global-mode t))\n" "#+end_src\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:262 #, no-wrap msgid "" "#+name: emacs-completion\n" "#+header: :tangle emacs/init.el\n" "#+begin_src emacs-lisp\n" "(use-package vertico\n" " :init\n" " (vertico-mode)\n" " ;; (setq vertico-scroll-margin 0)\n" " ;; (setq vertico-count 20)\n" " ;; (setq vertico-resize t)\n" " (setq vertico-cycle t))\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:271 #, no-wrap msgid "" "(use-package orderless\n" " :init\n" " ;; (setq orderless-style-dispatchers '(+orderless-consult-dispatch\n" " ;; orderless-affix-dispatch)\n" " orderless-component-separator #'orderless-escapable-split-on-space)\n" "(setq completion-styles '(orderless basic)\n" " completion-category-defaults nil\n" " completion-category-overrides '((file (styles partial-completion)))))\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:324 #, no-wrap msgid "" "(use-package consult\n" " :bind (;; C-c bindings in `mode-specific-map'\n" " (\"C-c M-x\" . consult-mode-command)\n" " (\"C-c h\" . consult-history)\n" " (\"C-c k\" . consult-kmacro)\n" " (\"C-c m\" . consult-man)\n" " (\"C-c i\" . consult-info)\n" " ([remap Info-search] . consult-info)\n" " ;; C-x bindings in `ctl-x-map'\n" " (\"C-x M-:\" . consult-complex-command) ;; orig. repeat-complex-command\n" " (\"C-x b\" . consult-buffer) ;; orig. switch-to-buffer\n" " (\"C-x 4 b\" . consult-buffer-other-window) ;; orig. switch-to-buffer-other-window\n" " (\"C-x 5 b\" . consult-buffer-other-frame) ;; orig. switch-to-buffer-other-frame\n" " (\"C-x r b\" . consult-bookmark) ;; orig. bookmark-jump\n" " (\"C-x p b\" . consult-project-buffer) ;; orig. project-switch-to-buffer\n" " ;; Custom M-# bindings for fast register access\n" " (\"M-#\" . consult-register-load)\n" " (\"M-'\" . consult-register-store) ;; orig. abbrev-prefix-mark (unrelated)\n" " (\"C-M-#\" . consult-register)\n" " ;; Other custom bindings\n" " (\"M-y\" . consult-yank-pop) ;; orig. yank-pop\n" " ;; M-g bindings in `goto-map'\n" " (\"M-g e\" . consult-compile-error)\n" " (\"M-g f\" . consult-flymake) ;; Alternative: consult-flycheck\n" " (\"M-g g\" . consult-goto-line) ;; orig. goto-line\n" " (\"M-g M-g\" . consult-goto-line) ;; orig. goto-line\n" " (\"M-g o\" . consult-outline) ;; Alternative: consult-org-heading\n" " (\"M-g m\" . consult-mark)\n" " (\"M-g k\" . consult-global-mark)\n" " (\"M-g i\" . consult-imenu)\n" " (\"M-g I\" . consult-imenu-multi)\n" " ;; M-s bindings in `search-map'\n" " (\"M-s d\" . consult-find) ;; Alternative: consult-fd\n" " (\"M-s D\" . consult-locate)\n" " (\"M-s g\" . consult-grep)\n" " (\"M-s G\" . consult-git-grep)\n" " (\"M-s r\" . consult-ripgrep)\n" " (\"M-s l\" . consult-line)\n" " (\"M-s L\" . consult-line-multi)\n" " (\"M-s k\" . consult-keep-lines)\n" " (\"M-s u\" . consult-focus-lines)\n" " ;; Isearch integration\n" " (\"M-s e\" . consult-isearch-history)\n" " :map isearch-mode-map\n" " (\"M-e\" . consult-isearch-history) ;; orig. isearch-edit-string\n" " (\"M-s e\" . consult-isearch-history) ;; orig. isearch-edit-string\n" " (\"M-s l\" . consult-line) ;; needed by consult-line to detect isearch\n" " (\"M-s L\" . consult-line-multi) ;; needed by consult-line to detect isearch\n" " ;; Minibuffer history\n" " :map minibuffer-local-map\n" " (\"M-s\" . consult-history) ;; orig. next-matching-history-element\n" " (\"M-r\" . consult-history)) ;; orig. previous-matching-history-element\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:334 #, no-wrap msgid "" " ;; Enable automatic preview at point in the *Completions* buffer. This is\n" " ;; relevant when you use the default completion UI.\n" " :hook (completion-list-mode . consult-preview-at-point-mode)\n" " :init\n" " ;; Optionally configure the register formatting. This improves the register\n" " ;; preview for `consult-register', `consult-register-load',\n" " ;; `consult-register-store' and the Emacs built-ins.\n" " (setq register-preview-delay 0.5\n" " register-preview-function #'consult-register-format)\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:338 #, no-wrap msgid "" " ;; Optionally tweak the register preview window.\n" " ;; This adds thin lines, sorting and hides the mode line of the window.\n" " (advice-add #'register-preview :override #'consult-register-window)\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:342 #, no-wrap msgid "" " ;; Use Consult to select xref locations with preview\n" " (setq xref-show-xrefs-function #'consult-xref\n" " xref-show-definitions-function #'consult-xref)\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:346 #, no-wrap msgid "" " ;; Configure other variables and modes in the :config section,\n" " ;; after lazily loading the package.\n" " :config\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:362 #, no-wrap msgid "" " ;; Optionally configure preview. The default value\n" " ;; is 'any, such that any key triggers the preview.\n" " ;; (setq consult-preview-key 'any)\n" " ;; (setq consult-preview-key \"M-.\")\n" " ;; (setq consult-preview-key '(\"S-\" \"S-\"))\n" " ;; For some commands and buffer sources it is useful to configure the\n" " ;; :preview-key on a per-command basis using the `consult-customize' macro.\n" " (consult-customize\n" " consult-theme :preview-key '(:debounce 0.2 any)\n" " consult-ripgrep consult-git-grep consult-grep\n" " consult-bookmark consult-recent-file consult-xref\n" " consult--source-bookmark consult--source-file-register\n" " consult--source-recent-file consult--source-project-recent-file\n" " ;; :preview-key \"M-.\"\n" " :preview-key '(:debounce 0.4 any))\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:366 #, no-wrap msgid "" " ;; Optionally configure the narrowing key.\n" " ;; Both < and C-+ work reasonably well.\n" " (setq consult-narrow-key \"<\") ;; \"C-+\"\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:371 #, no-wrap msgid "" " ;; Optionally make narrowing help available in the minibuffer.\n" " ;; You may want to use `embark-prefix-help-command' or which-key instead.\n" " ;; (define-key consult-narrow-map (vconcat consult-narrow-key \"?\") #'consult-narrow-help)\n" " )\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:386 #, no-wrap msgid "" "(use-package corfu\n" " :custom\n" " (corfu-cycle t) ;; Enable cycling for `corfu-next/previous'\n" " (corfu-auto t) ;; Enable auto completion\n" " (corfu-separator ?\\s) ;; Orderless field separator\n" " (corfu-quit-at-boundary nil) ;; Never quit at completion boundary\n" " (corfu-quit-no-match nil) ;; Never quit, even if there is no match\n" " (corfu-preview-current nil) ;; Disable current candidate preview\n" " (corfu-preselect 'prompt) ;; Preselect the prompt\n" " (corfu-on-exact-match nil) ;; Configure handling of exact matches\n" " (corfu-scroll-margin 5) ;; Use scroll margin\n" " :init\n" " (global-corfu-mode))\n" "#+end_src\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:396 #, no-wrap msgid "" "#+name: emacs-dired\n" "#+header: :tangle emacs/init.el\n" "#+begin_src emacs-lisp\n" "(setq dired-listing-switches \"-alh\"\n" " dired-dwim-target t\n" " dired-recursive-copies 'always\n" " dired-recursive-deletes 'always)\n" "(use-package dired-single)\n" "#+end_src\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:412 #, no-wrap msgid "" "#+name: emacs-emacs\n" "#+header: :tangle emacs/init.el\n" "#+begin_src emacs-lisp\n" "(use-package emacs\n" " :init\n" " ;; Add prompt indicator to `completing-read-multiple'.\n" " ;; We display [CRM], e.g., [CRM,] if the separator is a comma.\n" " (defun crm-indicator (args)\n" " (cons (format \"[CRM%s] %s\"\n" " (replace-regexp-in-string\n" " \"\\\\`\\\\[.*?]\\\\*\\\\|\\\\[.*?]\\\\*\\\\'\" \"\"\n" " crm-separator)\n" " (car args))\n" " (cdr args)))\n" " (advice-add #'completing-read-multiple :filter-args #'crm-indicator)\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:417 #, no-wrap msgid "" " ;; Do not allow the cursor in the minibuffer prompt\n" " (setq minibuffer-prompt-properties\n" " '(read-only t cursor-intangible t face minibuffer-prompt))\n" " (add-hook 'minibuffer-setup-hook #'cursor-intangible-mode)\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:420 #, no-wrap msgid "" " ;; Enable recursive minibuffers\n" " (setq enable-recursive-minibuffers t))\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:430 #, no-wrap msgid "" ";; Save all tempfiles in $TMPDIR/emacs$UID/\n" "(defconst emacs-tmp-dir (expand-file-name (format \"emacs%d\" (user-uid)) temporary-file-directory))\n" "(setq backup-directory-alist\n" " `((\".*\" . ,emacs-tmp-dir)))\n" "(setq auto-save-file-name-transforms\n" " `((\".*\" ,emacs-tmp-dir t)))\n" "(setq auto-save-list-file-prefix\n" " emacs-tmp-dir)\n" "#+end_src\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:443 #, no-wrap msgid "" "#+name: emacs-multiple-cursors\n" "#+header: :tangle emacs/init.el\n" "#+begin_src emacs-lisp\n" "(use-package multiple-cursors\n" " :bind\n" " ((\"C-S-c\" . mc/edit-lines)\n" " (\"C->\" . mc/mark-next-like-this)\n" " (\"C-<\" . mc/mark-previous-like-this)\n" " (\"C-c C-S-c\" . mc/mark-all-like-this)\n" " (\"C-\\\"\" . mc/skip-to-next-like-this)\n" " (\"C-:\" . mc/skip-to-previous-like-this)))\n" "#+end_src\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:451 #, no-wrap msgid "" "#+name: emacs-expand-region\n" "#+header: :tangle emacs/init.el\n" "#+begin_src emacs-lisp\n" "(use-package expand-region\n" " :bind\n" " ((\"C-M-=\" . er/expand-region)))\n" "#+end_src\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:460 #, no-wrap msgid "" "#+name: emacs-move-text\n" "#+header: :tangle emacs/init.el\n" "#+begin_src emacs-lisp\n" "(use-package move-text\n" " :bind\n" " ((\"M-P\" . move-text-up)\n" " (\"M-N\" . move-text-down)))\n" "#+end_src\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:467 #, no-wrap msgid "" "#+name: emacs-duplicate\n" "#+header: :tangle emacs/init.el\n" "#+begin_src emacs-lisp\n" "(keymap-global-set \"C-'\" 'duplicate-dwim)\n" "(setq duplicate-line-final-position 1)\n" "#+end_src\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:475 #, no-wrap msgid "" "#+name: emacs-hl-todo\n" "#+header: :tangle emacs/init.el\n" "#+begin_src emacs-lisp\n" "(use-package hl-todo\n" " :config\n" " (global-hl-todo-mode 1))\n" "#+end_src\n" msgstr "" #. type: Plain text #: src/en/articles/gnu+linux-and-emacs-introduction/index.org:490 #, no-wrap msgid "" "#+name: emacs-ligature\n" "#+header: :tangle emacs/init.el\n" "#+begin_src emacs-lisp\n" "(use-package ligature\n" " :config\n" " (ligature-set-ligatures\n" " 't '(\"-<<\" \"-<\" \"-<-\" \"<--\" \"<---\" \"<<-\" \"<-\" \"->\" \"->>\" \"-->\" \"--->\" \"->-\" \">-\" \">>-\"\n" " \"=<<\" \"=<\" \"=<=\" \"<==\" \"<===\" \"<<=\" \"<=\" \"=>\" \"=>>\" \"==>\" \"===>\" \"=>=\" \">=\" \">>=\"\n" " \"<->\" \"<-->\" \"<--->\" \"<---->\" \"<=>\" \"<==>\" \"<===>\" \"<====>\" \"::\" \":::\" \"__\"\n" " \"<~~\" \"\" \"/>\" \"~~>\" \"==\" \"!=\" \"/=\" \"~=\" \"<>\" \"===\" \"!==\" \"!===\" \"=/=\" \"=!=\"\n" " \"<:\" \":=\" \"*=\" \"*+\" \"<*\" \"<*>\" \"*>\" \"<|\" \"<|>\" \"|>\" \"<.\" \"<.>\" \".>\" \"+*\" \"=*\" \"=:\" \":>\"\n" " \"(*\" \"*)\" \"/*\" \"*/\" \"[|\" \"|]\" \"{|\" \"|}\" \"++\" \"+++\" \"\\\\/\" \"/\\\\\" \"|-\" \"-|\" \"