type (not all letters are included)
This is my init.el: (share yours) (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(custom-enabled-themes '(wombat)) '(package-selected-packages '(zig-mode go-mode))) (global-unset-key (kbd "C-z")) (require 'svelte-mode) ;; Stop creating backup files (setq make-backup-files nil) (setq auto-save-deafult nil) (setq create-lockfiles nil) ;; Getting rid of some unwanted stuff (menu-bar-mode 0) (scroll-bar-mode 0) (tool-bar-mode 0) (setq use-dialog-box nil inhibit-splash-screen t inhibit-startup-message t indent-tabs-mode nil ;; Modifying default C indentation style c-default-style "linux" c-basic-offset 4 ;; Changing styling for some other file types css-indent-level 2 css-indent-offset 2) (set-face-attribute 'default nil :height 130) (global-display-line-numbers-mode 1) ;; Stop Emacs from asking to save file before recompilation (setq compilation-ask-about-save nil) (put 'upcase-region 'disabled nil) (defun find-word-definition () "Finds the definition of the current word under the point. Will use the sdcv terminal program, so the user needs to make sure that he has already defined and installed a dictionary" (interactive) (let ((current-word (thing-at-point 'word))) (when current-word (shell-command (concat "sdcv -n " current-word))))) (global-set-key (kbd "C-c d") 'find-word-definition) (global-set-key (kbd "C-c o") 'ff-find-other-file) (global-set-key (kbd "C-c m") 'man) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. )