Add Linux config (mainly for Arch)

This commit is contained in:
Henrik Lissner 2016-10-02 23:29:51 +02:00
parent 0d1fb1132c
commit 65da0e0a9e
2 changed files with 47 additions and 15 deletions

View file

@ -4,20 +4,21 @@
(defconst IS-LINUX (eq system-type 'gnu/linux))
(defconst IS-WINDOWS (eq system-type 'windows-nt))
;; Use a shared clipboard
(setq x-select-enable-clipboard t
select-enable-clipboard t)
(setq
;; Use a shared clipboard
x-select-enable-clipboard t
select-enable-clipboard t
;; Treat clipboard input as UTF-8 string first; compound text next, etc.
x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING))
;; Stubs, these should be defined in all OS modules
(noop! doom-open-with (&optional app-name path))
(noop! os-switch-to-term)
(noop! os-switch-to-term-and-cd)
(noop! os-open-in-browser)
(noop! os-open-in-default-program)
(noop! os-reveal)
(noop! os-reveal-project)
(noop! os-open-in-browser)
(noop! os-upload)
(noop! os-upload-folder)
(noop! os-switch-to-term)
(noop! os-switch-to-term-and-cd)
(cond (IS-MAC (require 'core-os-osx))
(IS-LINUX (require 'core-os-linux))