1. seydar
  2. chitin

Commits

seydar  committed bf3b308

updated the word boundary list to better reflect the stuff suggested by readline

  • Participants
  • Parent commits 6a8b4ed
  • Branches default

Comments (0)

Files changed (1)

File lib/chitin/session.rb

View file
       @editor  = Coolline.new do |c|
         # Remove the default of '-' and add support for strings
         # starting after parentheses.
-        c.word_boundaries = [' ', "\t", "(", ")", '[', ']']
+        c.word_boundaries = [' ', "\t", "(", ")", '[', ']', '`', '@', '$', '>',
+                             '<', '=', ';', '|', '&', '{', '}']
         c.history_file    = File.join ENV['HOME'], '.chitin_history'
 
         # Make sure we don't kill the shell accidentally when we're trying to