시스템상에서 파랑색이 잘 안보입니다.

jjaiwook79의 이미지

빨간모자9 를 설치했는데 시스템 상에서 디렉터리나 vim으로 파일을 열었을때

파란색으로 나타납니다. 저같은경우 배경을 검은 색으로 놓고 사용하기 때문에

파란색이 잘 안보이는 네요. vim에서 주석들도 잘 안보이고 redhat7에서는

잘보이는데 말입니다.

kookooo의 이미지

:help color

jjaiwook79의 이미지

kookooo wrote:
:help color

조금더 자세한 설명을 부탁 드립니다.

kookooo의 이미지

가장 좋은 방법은 default sheme 파일을 보고 수정하는 방법입니다.
locate default.vim
vi PATH/default.vim

PATH 에 보면 여러개의 sheme 파일이 있습니다.
보시면 뭔지 이해가실겁니다.

http://vimdoc.sourceforge.net/cgi-bin/vimfaq2html3.pl

22.3. How do I change the highlight colors to suit a dark/light background?

You can set the 'background' option to either 'dark' or 'light' to change
the highlight colors to suit a dark/light background:

:set background=dark

For more information, read

:help 'background'
:help 6.2

22.4. How do I change the color of the line numbers displayed when the
":set number" command is used?

The line numbers displayed use the LineNr highlighting group. To display
the current colors used, use

:hi LineNr

To change the color modify the LineNr highlight group. For example:

:hi linenr guifg=red guibg=black

This will give red numbers on a black background in GVIM.

For more information, read

:help :highlight

22.5. How do I change the background color used for a Visually selected
block?

You can modify the 'Visual' highlight group to change the color used for a
visually selected block:

:highlight Visual guibg=red

For more information, read

:help :highlight
:help hl-Visual

22.6. How do I highlight the special characters (tabs, trailing spaces, end
of line, etc) displayed by the 'list' option?

You can modify the "NonText" and "SpecialKey" highlight groups to highlight
the special characters displayed by the 'list' option:

:highlight NonText guibg=red
:highlight SpecialKey guibg=green

The "NonText" highlighting group is used for "eol", "extends" and
"precedes" settings in the "listchars" option. The "SpecialKey"
highlighting group is used for the "tab" and "trail" settings.

For more information, read

:help 'listchars'
:help hl-NonText
:help hl-SpecialKey

jjaiwook79의 이미지

답변 감사드립니다 ^^

아주 자세히 나와있네요.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.