forked from pub-solar/os
editorconfig: fixup
This commit is contained in:
parent
a1fad9c019
commit
28e473517d
|
@ -2,11 +2,30 @@
|
||||||
root = true
|
root = true
|
||||||
|
|
||||||
[*]
|
[*]
|
||||||
|
end_of_line = lf
|
||||||
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
charset = utf-8
|
charset = utf-8
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
insert_final_newline = true
|
|
||||||
trim_trailing_whitespace = true
|
# Ignore diffs/patches
|
||||||
|
[*.{diff,patch}]
|
||||||
|
end_of_line = unset
|
||||||
|
insert_final_newline = unset
|
||||||
|
trim_trailing_whitespace = unset
|
||||||
|
indent_size = unset
|
||||||
|
|
||||||
|
[{.*,secrets}/**]
|
||||||
|
end_of_line = unset
|
||||||
|
insert_final_newline = unset
|
||||||
|
trim_trailing_whitespace = unset
|
||||||
|
charset = unset
|
||||||
|
indent_style = unset
|
||||||
|
indent_size = unset
|
||||||
|
|
||||||
|
[*.py]
|
||||||
|
indent_size = 4
|
||||||
|
|
||||||
[*.md]
|
[*.md]
|
||||||
max_line_length = off
|
max_line_length = off
|
||||||
|
|
|
@ -37,7 +37,7 @@ define-command -docstring 'copy system clipboard if current register is unset' \
|
||||||
|
|
||||||
# Pull the clipboard and execute the key with the same context
|
# Pull the clipboard and execute the key with the same context
|
||||||
define-command -docstring 'copy system clipboard then execute keys' \
|
define-command -docstring 'copy system clipboard then execute keys' \
|
||||||
kakboard-with-pull-clipboard -params 1 %{
|
kakboard-with-pull-clipboard -params 1 %{
|
||||||
kakboard-pull-if-unset
|
kakboard-pull-if-unset
|
||||||
evaluate-commands %sh{
|
evaluate-commands %sh{
|
||||||
if test -n "$kak_register"; then
|
if test -n "$kak_register"; then
|
||||||
|
@ -69,7 +69,7 @@ define-command -docstring 'set system clipboard if current register is unset' \
|
||||||
|
|
||||||
# Set the clipboard and execute the key with the same context
|
# Set the clipboard and execute the key with the same context
|
||||||
define-command -docstring 'execute keys then set system clipboard' \
|
define-command -docstring 'execute keys then set system clipboard' \
|
||||||
kakboard-with-push-clipboard -params 1 %{
|
kakboard-with-push-clipboard -params 1 %{
|
||||||
evaluate-commands %sh{
|
evaluate-commands %sh{
|
||||||
if test -n "$kak_register"; then
|
if test -n "$kak_register"; then
|
||||||
register="\"$kak_register"
|
register="\"$kak_register"
|
||||||
|
|
|
@ -258,8 +258,8 @@ c.colors.hints.match.fg = '#5AF78E'
|
||||||
# leave listed modes easily with <a-j>
|
# leave listed modes easily with <a-j>
|
||||||
for mode in\
|
for mode in\
|
||||||
['caret', 'command', 'hint',
|
['caret', 'command', 'hint',
|
||||||
'insert', 'passthrough', 'prompt',
|
'insert', 'passthrough', 'prompt',
|
||||||
'yesno']:
|
'yesno']:
|
||||||
config.bind('<Alt+j>', 'leave-mode', mode=mode)
|
config.bind('<Alt+j>', 'leave-mode', mode=mode)
|
||||||
|
|
||||||
# Bindings for normal mode
|
# Bindings for normal mode
|
||||||
|
|
|
@ -28,7 +28,7 @@ import XMonad.Layout.PerWorkspace (onWorkspace)
|
||||||
import XMonad.Layout.Reflect (reflectHoriz)
|
import XMonad.Layout.Reflect (reflectHoriz)
|
||||||
import XMonad.Util.Cursor
|
import XMonad.Util.Cursor
|
||||||
import qualified XMonad.StackSet as S (StackSet, greedyView,
|
import qualified XMonad.StackSet as S (StackSet, greedyView,
|
||||||
shift)
|
shift)
|
||||||
|
|
||||||
main :: IO ()
|
main :: IO ()
|
||||||
main =
|
main =
|
||||||
|
@ -39,17 +39,17 @@ main =
|
||||||
, workspaces = myWorkspaces
|
, workspaces = myWorkspaces
|
||||||
, startupHook = myAutostart
|
, startupHook = myAutostart
|
||||||
, manageHook = myManageHook
|
, manageHook = myManageHook
|
||||||
<+> manageHook defaultConfig
|
<+> manageHook defaultConfig
|
||||||
<+> manageDocks
|
<+> manageDocks
|
||||||
, borderWidth = 0
|
, borderWidth = 0
|
||||||
, logHook = takeTopFocus
|
, logHook = takeTopFocus
|
||||||
}
|
}
|
||||||
`additionalKeys` myKeys
|
`additionalKeys` myKeys
|
||||||
|
|
||||||
myLayout = smartBorders
|
myLayout = smartBorders
|
||||||
. mkToggle ( NBFULL ?? EOT)
|
. mkToggle ( NBFULL ?? EOT)
|
||||||
. onWorkspace "7:im" ( half ||| Mirror half ||| tiled ||| reflectHoriz tiled )
|
. onWorkspace "7:im" ( half ||| Mirror half ||| tiled ||| reflectHoriz tiled )
|
||||||
$ tiled ||| reflectHoriz tiled ||| half ||| Mirror half
|
$ tiled ||| reflectHoriz tiled ||| half ||| Mirror half
|
||||||
where
|
where
|
||||||
tiled = ResizableTall nmaster delta ratiot []
|
tiled = ResizableTall nmaster delta ratiot []
|
||||||
half = ResizableTall nmaster delta ratioh []
|
half = ResizableTall nmaster delta ratioh []
|
||||||
|
|
Loading…
Reference in a new issue