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