mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-04-13 09:30:06 +00:00
allow for vim to surface an existing vim session
This commit is contained in:
parent
147ec89447
commit
e207390016
2 changed files with 8 additions and 3 deletions
5
vim/plugin/editexisting.vim
Normal file
5
vim/plugin/editexisting.vim
Normal file
|
@ -0,0 +1,5 @@
|
|||
if v:version < 700
|
||||
finish
|
||||
endif
|
||||
|
||||
runtime! macros/editexisting.vim
|
|
@ -41,7 +41,7 @@ myLayoutHook = tiled ||| Mirror tiled ||| Grid ||| simpleTabbed
|
|||
delta = 3/100
|
||||
|
||||
main = do
|
||||
xmproc <- spawnPipe "xmobar"
|
||||
xmproc <- spawnPipe "~/xmobar/bin/xmobar"
|
||||
xmonad $ defaultConfig
|
||||
{ manageHook = manageDocks <+> myFloatHook <+> manageHook defaultConfig <+> scratchpadManageHook (W.RationalRect 0.25 0.25 0.5 0.5)
|
||||
, layoutHook = avoidStruts $ smartBorders $ myLayoutHook
|
||||
|
@ -50,12 +50,12 @@ main = do
|
|||
, ppUrgent = xmobarColor "#cc0000" "" . wrap "**" "**"
|
||||
, ppTitle = xmobarColor "#8AE234" ""
|
||||
}
|
||||
, terminal = "lxterm"
|
||||
}
|
||||
`additionalKeysP`
|
||||
[ ("M-p", shellPrompt defaultXPConfig { position = Top })
|
||||
, ("M-S-a", windowPromptGoto defaultXPConfig { position = Top })
|
||||
, ("M-a", windowPromptBring defaultXPConfig { position = Top })
|
||||
, ("M-x", sendMessage ToggleStruts)
|
||||
, ("M-S-l", spawn "~/bin/lock")
|
||||
, ("M-<Left>", moveTo Prev HiddenNonEmptyWS)
|
||||
, ("M-S-<Left>", shiftToPrev)
|
||||
|
@ -68,5 +68,5 @@ main = do
|
|||
, ("M-`", toggleWS)
|
||||
, ("M-s", moveTo Next EmptyWS)
|
||||
, ("M-S-s", shiftTo Next EmptyWS)
|
||||
, ("M-g", scratchpadSpawnAction defaultConfig)
|
||||
, ("M-g", scratchpadSpawnAction defaultConfig { terminal = "lxterm" })
|
||||
]
|
||||
|
|
Loading…
Add table
Reference in a new issue