Skip to content

Commit

Permalink
add surround config
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Dec 23, 2019
1 parent d8f7247 commit 19b31e0
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
12 changes: 12 additions & 0 deletions dotfiles/kakoune.nix
Expand Up @@ -56,6 +56,18 @@ in {
option = ".*";
commands = "auto-pairs-enable";
}
{
name = "WinCreate";
option = ".*";
commands = ''
declare-user-mode surround
map global surround s ':surround<ret>' -docstring 'Surround'
map global surround c ':change-surround<ret>' -docstring 'Change'
map global surround d ':delete-surround<ret>' -docstring 'Delete'
map global surround t ':select-surrounding-tag<ret>' -docstring 'Select tag'
map global user s ':enter-user-mode surround<ret>' -docstring 'Surround'
'';
}
];
};
};
Expand Down
13 changes: 13 additions & 0 deletions nix/sources.json
Expand Up @@ -141,6 +141,19 @@
"url": "https://github.com/Delapouite/kakoune-palette/archive/052cab5f48578679d94717ed5f62429be9865d5d.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"kakoune-surround": {
"branch": "master",
"description": "Surround selection, Change/Delete surrounder",
"homepage": null,
"kakoune": "plugin",
"owner": "h-youhei",
"repo": "kakoune-surround",
"rev": "efe74c6f434d1e30eff70d4b0d737f55bf6c5022",
"sha256": "09fd7qhlsazf4bcl3z7xh9z0fklw69c5j32hminphihq74qrry6h",
"type": "tarball",
"url": "https://github.com/h-youhei/kakoune-surround/archive/efe74c6f434d1e30eff70d4b0d737f55bf6c5022.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz"
},
"lightline-ale": {
"branch": "master",
"description": "TODO",
Expand Down

0 comments on commit 19b31e0

Please sign in to comment.