[완료]gvim 에디팅 중에 마우스로 더블 클릭을 했을 경우
글쓴이: impactbar / 작성시간: 수, 2008/10/29 - 11:06오전
문득 궁금한 것이 있어 문의 글을 올립니다.
xshell 을 이용한 작업을 많이 하는데 여기에는 마우스 더블 클릭시 선택되는 범위를 지정하는 문자열 선택 구분자 (separator)를 지정할 수 있습니다.
상용에디터에서도 구분자변경이 있습니다.
그래서 주로 사용하는 윈도 에디터인 gvim 에서 구분자를 변경하기 위해서 찾아보았는데 잘 못찾겠습니다.
문의 내용은 아래와 같습니다.
1. gvim 에디터에서 문자열 위에서 더블클릭 했을 선택되는 문자열의 범위를 지정하는 방법 (separator 지정)
2. 없다면 차선책으로 windows 에서 선택되는 문자열 범위를 수정할 수 방법
감사합니다.
Forums:
:help isk(iskeyword)를
:help isk(iskeyword)를 보시면될겁니다.
감사합니다.
감사합니다.
알려주신 것으로
알려주신 것으로 검색해서 자료 첨부합니다.
KEYWORDS
The 'iskeyword' option specifies which characters can appear in a word:
:set iskeyword
iskeyword=@,48-57,_,192-255
The "@" stands for all alphabetic letters. "48-57" stands for ASCII
characters 48 to 57, which are the numbers 0 to 9. "192-255" are the
printable latin characters.
Sometimes you will want to include a dash in keywords, so that commands
like "w" consider "upper-case" to be one word. You can do it like this:
:set iskeyword+=-
:set iskeyword
iskeyword=@,48-57,_,192-255,-
If you look at the new value, you will see that Vim has added a comma for you.
To remove a character use "-=". For example, to remove the underscore:
:set iskeyword-=_
:set iskeyword
iskeyword=@,48-57,192-255,-
댓글 달기