Last active
November 20, 2015 09:27
-
-
Save leslie-leder/d29b2446723947ec5b17 to your computer and use it in GitHub Desktop.
Textadept
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- ~/.textadept/find.lua | |
-- Fill the find field with the current buffer selection | |
-- | |
-- Thanks to Mitchell and Niklas W from [email protected] | |
keys.cf = function() | |
local s = buffer.selection_start | |
local e = buffer.selection_end | |
if s ~= e then | |
ui.find.find_entry_text = buffer:text_range(s, e) | |
end | |
ui.find.focus() | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- ~/.textadept/init.lua | |
ui.set_theme('light') | |
textadept.file_types.extensions.gradle = 'groovy' | |
--means control+h whereas cH means control+shift+h | |
keys.ch = textadept.editing.highlight_word | |
-- import the find.lua | |
require('find') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/usr/local/share/applications/textadept.desktop | |
[Desktop Entry] | |
Type=Application | |
Encoding=UTF-8 | |
Name=Textadept | |
Comment=Editor | |
Exec=/opt/textadept/textadept %U | |
Icon=/opt/textadept/core/images/ta_256x256.png | |
Terminal=false | |
Categories=Utilities;Accessories;Programming |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment